예제 #1
0
파일: posts.php 프로젝트: raeldc/com_blog
 public function __construct(KConfig $config)
 {
     $config['table_behaviors'] = array('creatable', 'sluggable');
     parent::__construct($config);
     // Set the state
     $this->getState()->insert('enabled', 'int')->insert('blog_blog_id', 'int')->insert('blog_post_id', 'int');
 }
예제 #2
0
 public function __construct(KConfig $config)
 {
     $config['table_behaviors'] = array('creatable');
     parent::__construct($config);
     // Set the state
     $this->getState()->insert('target_type', 'string')->insert('target_id', 'int')->insert('return', 'url');
 }
예제 #3
0
 public function __construct(array $options)
 {
     parent::__construct($options);
     $this->setState('key', 'iso_code');
     $this->setState('offset', 0);
     $this->setState('limit', 0);
 }
예제 #4
0
 public function __construct($config)
 {
     $config['table_behaviors'] = array('creatable', 'modifiable');
     parent::__construct($config);
     // Set the state
     $this->getState()->insert('userid', 'int')->insert('created_by', 'int')->insert('service', 'string')->insert('service_username', 'raw')->insert('service_id', 'raw')->insert('service_avatar', 'raw')->insert('oauth_token', 'raw')->insert('oauth_token_secret', 'raw');
 }
예제 #5
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->setState('find_properties_by', KInput::get('find_properties_by', 'get', 'string'));
     $this->setState('type_id', KInput::get('type_id', 'get', 'int'));
     $this->setState('id', KInput::get('id', 'get', 'int'));
 }
예제 #6
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->setState('album', KInput::get('album', 'get', 'string'));
     $this->setState('id', KInput::get('id', 'get', 'int'));
     JPluginHelper::importPlugin('gdata', 'gdata');
 }
예제 #7
0
	public function __construct(KConfig $config)
	{
		parent::__construct($config);
		
		$this->_state
			->insert('enabled', 'int')
			->insert('category', 'int');
	}
예제 #8
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $array = JRequest::getVar('id', array(0), '', 'array');
     $edit = JRequest::getVar('edit', true);
     if ($edit) {
         $this->setId((int) $array[0]);
     }
 }
예제 #9
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     // set our own defaults, this list requires no pagination or custom sorting
     //$this->setState('limit', 		0);
     //$this->setState('limitstart', 	0);
     $this->setState('order', 'tbl.tag');
     $this->setState('direction', 'ASC');
     $this->setState('picman_tag_id', JRequest::getInt('picman_tag_id', null));
     $this->setState('picman_album_id', JRequest::getInt('picman_album_id', null));
 }
예제 #10
0
파일: pages.php 프로젝트: raeldc/com_learn
	public function __construct(KConfig $config)
	{
		parent::__construct($config);

		$this->_state
			->insert('enabled'	 , 'int')
			->insert('group_id'	 , 'int')
			->insert('menu'      , 'int')
			->insert('type'		 , 'cmd')
			->insert('home'      , 'int')
			->insert('trashed'	 , 'int');
	}
예제 #11
0
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->getState()->insert('target_type', 'string')->insert('parent_page', 'int')->insert('text', 'string');
 }
예제 #12
0
 public function __construct($options = array())
 {
     parent::__construct($options);
 }
예제 #13
0
파일: blogs.php 프로젝트: raeldc/com_blog
 public function __construct(KConfig $config)
 {
     $config['table_behaviors'] = array('creatable');
     parent::__construct($config);
 }
예제 #14
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->setState('tag_id', KInput::get('tag_id', 'get', 'int'));
 }
예제 #15
0
 public function __construct(array $options = array())
 {
     parent::__construct($options);
     $this->setTable('admin::com.nooku.table.articles');
 }
예제 #16
0
 public function __construct(KConfig $config)
 {
     $config['table_behaviors'] = array('creatable');
     parent::__construct($config);
     $this->getState()->insert('stream_controller_id', 'int')->insert('action', 'string')->insert('pagination', 'string')->insert('parent_target_id', 'int')->insert('userid', 'int');
 }
예제 #17
0
 /**
  * Constructor.
  *
  * @param   KConfig  An optional KConfig object with configuration options.
  */
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->_state->insert('username', 'alnum');
 }
예제 #18
0
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     $this->getState()->insert('controller', 'string')->insert('browse', 'boolean')->insert('read', 'boolean')->insert('edit', 'boolean')->insert('add', 'boolean')->insert('delete', 'boolean');
 }
예제 #19
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->setState('filter_state', KInput::get('filter_state', 'post', 'string'));
 }
예제 #20
0
파일: menus.php 프로젝트: raeldc/com_learn
	public function __construct(KConfig $config)
	{
		parent::__construct($config);
	}