Exemplo n.º 1
0
 private function taxonomy_row_query($params)
 {
     if (isset($params['id'])) {
         $table = DB_TAXONOMY;
         $where = "taxa_id";
         $field = array($params['id']);
         //build single query from BuildQuery class
         $db_results = BuildQuery::single_row_query($table, $where, $field);
         self::$db_taxonomy_row = $db_results;
     }
 }
Exemplo n.º 2
0
 private function map_row_query($controller, $params)
 {
     if (isset($params['id'])) {
         $table = DB_CONTENT;
         $where = "contentid";
         $field = array($params['id']);
         //build single query from BuildQuery class
         $db_results = BuildQuery::single_row_query($table, $where, $field);
         self::$db_content_row = $db_results;
     }
 }