AdminPageFramework_Factory_Model::__construct PHP Method

__construct() public method

public __construct ( $oProp )
    public function __construct($oProp)
    {
        parent::__construct($oProp);
        add_filter('field_types_' . $oProp->sClassName, array($this, '_replyToFilterFieldTypeDefinitions'));
    }

Usage Example

コード例 #1
0
 /**
  * Sets up hooks and properties.
  * 
  * @internal
  */
 function __construct($oProp)
 {
     parent::__construct($oProp);
     if ($this->_isInThePage() && !$this->oProp->bIsAdminAjax) {
         if (is_network_admin()) {
             add_action('network_admin_notices', array($this, '_replyToPrintSettingNotice'));
         } else {
             add_action('admin_notices', array($this, '_replyToPrintSettingNotice'));
         }
     }
 }
All Usage Examples Of AdminPageFramework_Factory_Model::__construct