Exemple #1
0
 function SetProperties()
 {
     parent::SetProperties();
     $this->RemoveProperty('secure', 0);
     $this->RemoveProperty('cachable', true);
     $this->AddContentProperty('url', 10, 1);
 }
Exemple #2
0
 function SetProperties()
 {
     parent::SetProperties();
     $this->RemoveProperty('cachable', 1);
     //$this->RemoveProperty('showinmenu',1);
     $this->RemoveProperty('secure', 0);
     $this->AddContentProperty('page', 10, 1, 'int');
     $this->AddContentProperty('params', 10, 1);
     //Turn off caching
     $this->mCachable = false;
 }
 /**
  * Set up base property attributes for this content type
  *
  * @return void
  */
 function SetProperties()
 {
     parent::SetProperties();
     $this->AddBaseProperty('template', 4);
     $this->AddBaseProperty('pagemetadata', 20);
     $this->AddContentProperty('searchable', 8);
     $this->AddContentProperty('pagedata', 25);
     $this->AddContentProperty('disable_wysiwyg', 60);
     #Turn on preview
     $this->mPreview = true;
 }
Exemple #4
0
 function SetProperties()
 {
     parent::SetProperties();
     $this->RemoveProperty('secure', 0);
     $this->RemoveProperty('accesskey', '');
     $this->RemoveProperty('title', '');
     //$this->RemoveProperty('showinmenu',true);
     $this->RemoveProperty('cachable', true);
     $this->RemoveProperty('target', '');
     #Turn off caching
     $this->mCachable = false;
 }
Exemple #5
0
 function SetProperties()
 {
     parent::SetProperties();
     $this->RemoveProperty('secure', 0);
     $this->RemoveProperty('template', '-1');
     $this->RemoveProperty('alias', '');
     $this->RemoveProperty('title', '');
     $this->RemoveProperty('menutext', '');
     $this->RemoveProperty('target', '');
     $this->RemoveProperty('accesskey', '');
     $this->RemoveProperty('titleattribute', '');
     $this->RemoveProperty('cachable', true);
 }
 function SetProperties()
 {
     parent::SetProperties();
     $this->RemoveProperty('secure', 0);
     $this->RemoveProperty('accesskey', '');
     $this->RemoveProperty('title', '');
     //$this->RemoveProperty('showinmenu',true);
     $this->RemoveProperty('cachable', true);
     $this->RemoveProperty('target', '');
     //$this->RemoveProperty('alias','');
     $this->RemoveProperty('page_url', '');
     $this->SetURL('');
     // url will be lost when going back to a content page.
     #Turn off caching
     $this->mCachable = false;
 }