Ejemplo n.º 1
0
Archivo: Tags.php Proyecto: techart/tao
 public function process_schema($name, $data, $table)
 {
     $table_tags = self::table_tags($table, $name);
     $fields_tags = array('id' => array('sqltype' => 'serial'), 'title' => array('sqltype' => 'varchar(100) index'));
     CMS_Fields::process_schema($table_tags, $fields_tags);
     $table_rels = self::table_rels($table, $name);
     $fields_rels = array('tag_id' => array('sqltype' => 'int index'), 'item_id' => array('sqltype' => 'int index'));
     CMS_Fields::process_schema($table_rels, $fields_rels);
 }
Ejemplo n.º 2
0
Archivo: CLI.php Proyecto: techart/tao
 static function run()
 {
     CMS_Fields::process_schema('tao_cli_calls', self::fields());
 }