public function __construct($sPostType, $aArguments = array(), $sCallerPath = null, $sTextDomain = 'amazon-auto-links') { if (empty($sPostType)) { return; } $this->oProp = new AmazonAutoLinks_AdminPageFramework_Property_PostType($this, $this->_getCallerScriptPath($sCallerPath), get_class($this), 'publish_posts', $sTextDomain, 'post_type'); $this->oProp->sPostType = AmazonAutoLinks_AdminPageFramework_WPUtility::sanitizeSlug($sPostType); $this->oProp->aPostTypeArgs = $aArguments; parent::__construct($this->oProp); $this->oUtil->addAndDoAction($this, "start_{$this->oProp->sClassName}", $this); }