示例#1
0
 function __construct($label = 'Custom Query', $template = 'query', $options = array())
 {
     parent::__construct(self::$_id, $label, $template, $options);
 }
示例#2
0
 function __construct($label = 'Advertisement', $template = 'ad', $options = array())
 {
     parent::__construct(self::$_id, $label, $template, $options);
 }
示例#3
0
 /**
  * Update a drop
  *
  * @todo delegate to Drop classes
  * @param [type]  $payload [description]
  * @return [type]          [description]
  */
 function update_drop($payload)
 {
     $drop = Drop_It_Drop::payload($payload);
     update_metadata_by_mid('post', $payload->drop_id, $drop, $meta_key = false);
 }
示例#4
0
 function __construct($label = 'Search Box', $template = 'search_box', $options = array())
 {
     parent::__construct(self::$_id, $label, $template, $options);
 }
示例#5
0
 function __construct($label = 'Static HTML', $template = 'static_html', $options = array())
 {
     parent::__construct(self::$_id, $label, $template, $options);
 }
示例#6
0
 function __construct($label = 'Single Post', $template = 'single', $options = array())
 {
     parent::__construct(self::$_id, $label, $template, $options);
 }