Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
page_hit_count_listing_edit_fns.inc
1 <?php
18 require_once SQ_PACKAGES_PATH.'/cms/listing_engine/listing_engine_edit_fns.inc';
19 require_once SQ_LIB_PATH.'/html_form/html_form.inc';
20 
34 {
35 
36 
41  function __construct()
42  {
43  parent::__construct();
44 
45  }//end constructor
46 
47 
58  function paintRootNode(&$asset, &$o, $prefix)
59  {
60  $o->openField('Root Nodes');
61 
62  parent::paintRootNode($asset, $o, $prefix);
63 
64  $o->note('Leave blank to list the sub assets/children of this asset listing page');
65  $o->closeField();
66 
67  return TRUE;
68 
69  }//end paintRootNode()
70 
71 
80  function _getStandardSortByOptions(&$asset)
81  {
82  $standard_option = parent::_getStandardSortByOptions($asset);
83  $standard_option += Array('hitcount' => 'Hit count of the asset');
84  return $standard_option;
85 
86  }//end _getStandardSortByOptions()
87 
88 
89 }//end class
90 
91 ?>