* @copyright 2018 Areama * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of Areama */ include_once dirname(__FILE__).'/ArSeoProJsonLDAbstract.php'; class ArSeoProJsonLDAdvanced extends ArSeoProJsonLDAbstract { const CONFIG_PREFIX = 'arseojsona_'; public $exclude; public function rules() { return array( array( array( 'exclude' ), 'safe' ) ); } public function attributeLabels() { return array( 'exclude' => $this->l('Disable JSON-LD microdata for these pages', 'ArSeoProJsonLDAdvanced') ); } public function attributeDefaults() { return array( 'exclude' => 'cart, order, myaccount, my-account, history, checkout' ); } public function getConfigPrefix() { return self::CONFIG_PREFIX; } }