# css-javascript-toolbox/8.0.3/models/settings/metabox.php

CSS &amp; JavaScript Toolbox, version 8.0.3. 40 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.3/code/models/settings/metabox.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.3/raw/models/settings/metabox.php
- Modified: 2013-06-08T17:53:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/css-javascript-toolbox/8.0.3/code/models/settings/metabox.php#L10-L20`.

```php
<?php
/**
* 
*/
require_once CJTOOLBOX_FRAMEWORK . '/settings/page.inc.php';

/**
* 
*/
class CJTSettingsMetaboxPage extends CJTSettingsPage {
	
	/**
	* put your comment there...
	* 
	*/
	public function __construct() {
		parent::__construct(get_class($this));
		// Load metabox settins.
		$this->load();
	}
	
	/**
	* put your comment there...
	* 
	* @param mixed $property
	*/
	public function __get($property) {
		$value = null;
		switch ($property)	{
			// PostTypes always should be array.
			case 'postTypes':
				$value = parent::__get($property);
				$value = is_array($value) ? $value : array();
			break;
		}
		return $value;
	}

} // End class.

```
