Ejemplo n.º 1
0
 public function __construct($config = array())
 {
     $this->table = 'modules';
     $this->edit_context = 'com_modules.edit.module';
     $this->associate_context = 'com_modules.module';
     $this->translate_fields = array('title', 'content');
     $this->translate_filters = array('`client_id`=0');
     $this->reference_tables = array('menu');
     parent::__construct($config);
 }
Ejemplo n.º 2
0
 public function __construct($config = array())
 {
     $this->table_type = 'alias';
     $this->table = 'menu_types';
     $this->alias_field = 'menutype';
     $this->edit_context = 'com_menus.edit.menu';
     $this->associate_context = 'menu_types.item';
     $this->translate_filters = array("`menutype` <> 'default-all'");
     $this->translate_fields = array('title', 'description');
     parent::__construct($config);
 }
Ejemplo n.º 3
0
 public function __construct($config = array())
 {
     $this->table = 'k2_items';
     $this->edit_context = 'com_k2.edit.item';
     $this->associate_context = 'com_k2.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('title', 'introtext', 'fulltext', 'metakey', 'metadesc');
     $this->reference_fields = array('catid' => 'k2_categories');
     $this->translate_filters = array('trash <> 1');
     parent::__construct($config);
 }
Ejemplo n.º 4
0
 public function __construct($config = array())
 {
     $this->table = 'weblinks';
     $this->edit_context = 'com_weblinks.edit.weblink';
     $this->associate_context = 'com_weblinks.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('title', 'description', 'metakey', 'metadesc');
     $this->reference_fields = array('catid' => 'categories');
     $this->title_field = 'title';
     $this->fixed_fields = array();
     parent::__construct($config);
 }
Ejemplo n.º 5
0
 public function __construct($config = array())
 {
     $this->table = 'banners';
     $this->edit_context = 'com_banners.edit.banner';
     $this->associate_context = 'com_banners.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('name', 'description');
     $this->reference_fields = array('catid' => 'categories');
     $this->title_field = 'name';
     $this->fixed_fields = array();
     parent::__construct($config);
 }
Ejemplo n.º 6
0
 public function __construct($config = array())
 {
     $this->table = 'contact_details';
     $this->edit_context = 'com_contact.edit.contact';
     $this->associate_context = 'com_contact.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('name', 'con_position', 'address', 'suburb', 'state', 'country', 'misc', 'metakey', 'metadesc');
     $this->reference_fields = array('catid' => 'categories');
     $this->title_field = 'name';
     $this->fixed_fields = array();
     parent::__construct($config);
 }
Ejemplo n.º 7
0
 public function __construct($config = array())
 {
     $this->table = 'newsfeeds';
     $this->edit_context = 'com_newsfeeds.edit.newsfeed';
     $this->associate_context = 'com_newsfeeds.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('name', 'metakey', 'metadesc');
     $this->reference_fields = array('catid' => 'categories');
     $this->title_field = 'name';
     $this->fixed_fields = array();
     parent::__construct($config);
 }
 public function __construct($config = array())
 {
     $this->table_type = 'table';
     $this->table = 'virtuemart_shipmentmethods';
     $this->primarykey = 'virtuemart_shipmentmethod_id';
     $this->edit_context = 'virtuemart.edit.category';
     $this->associate_context = 'virtuemart.category';
     $this->translate_fields = array('shipment_name', 'shipment_desc');
     $this->translate_filters = array();
     $this->alias_field = '';
     $this->title_field = 'shipment_name';
     parent::__construct($config);
 }
Ejemplo n.º 9
0
 public function __construct($config = array())
 {
     $this->table = 'categories';
     $this->edit_context = 'com_categories.edit.category';
     $this->associate_context = 'com_categories.item';
     $this->alias_field = 'alias';
     $this->translate_fields = array('title', 'description', 'metakey', 'metadesc');
     $this->translate_filters = array('`id` <> 1');
     $this->fixed_fields = array('asset_id' => 0, 'version' => 1);
     $this->nested_field = 'parent_id';
     $this->nested_value = 1;
     parent::__construct($config);
 }
 public function __construct($config = array())
 {
     $this->table_type = 'table';
     $this->table = 'virtuemart_products';
     $this->primarykey = 'virtuemart_product_id';
     $this->edit_context = 'virtuemart.edit.products';
     $this->associate_context = 'virtuemart.products';
     $this->translate_fields = array('product_s_desc', 'product_desc', 'product_name', 'metakey', 'metadesc');
     $this->translate_filters = array();
     $this->alias_field = '';
     $this->title_field = 'product_name';
     parent::__construct($config);
 }
Ejemplo n.º 11
0
 public function __construct($config = array())
 {
     $this->table = 'easyblog_category';
     $this->edit_context = 'com_easyblog.edit.category';
     $this->associate_context = 'com_easyblog.category';
     $this->translate_fields = array('title', 'description');
     //$this->translate_filters = array('trash <> 1');
     $this->alias_field = 'alias';
     $this->nested_field = 'parent_id';
     $this->nested_value = 0;
     $this->title_field = 'title';
     parent::__construct($config);
 }
Ejemplo n.º 12
0
 public function __construct($config = array())
 {
     $this->table = 'k2_categories';
     $this->edit_context = 'com_k2.edit.category';
     $this->associate_context = 'com_k2.category';
     $this->translate_fields = array('name', 'description');
     $this->translate_filters = array('trash <> 1');
     $this->alias_field = 'alias';
     $this->nested_field = 'parent';
     $this->nested_value = 0;
     $this->title_field = 'name';
     parent::__construct($config);
 }
Ejemplo n.º 13
0
 public function __construct($config = array())
 {
     $this->table_type = 'table';
     $this->table = 'virtuemart_vendors';
     $this->primarykey = 'virtuemart_vendor_id';
     $this->edit_context = 'virtuemart.edit.category';
     $this->associate_context = 'virtuemart.category';
     $this->translate_fields = array('vendor_store_desc', 'vendor_terms_of_service', 'vendor_legal_info', 'vendor_store_name', 'metakey', 'metadesc');
     $this->translate_filters = array();
     $this->alias_field = '';
     $this->title_field = 'vendor_store_name';
     parent::__construct($config);
 }
 public function __construct($config = array())
 {
     $this->table_type = 'table';
     $this->table = 'virtuemart_manufacturercategories';
     $this->primarykey = 'virtuemart_manufacturercategories_id';
     $this->edit_context = 'virtuemart.edit.manufacturercategories';
     $this->associate_context = 'virtuemart.manufacturercategories';
     $this->translate_fields = array('mf_category_name', 'mf_category_desc');
     $this->translate_filters = array();
     $this->alias_field = '';
     $this->title_field = 'mf_category_name';
     parent::__construct($config);
 }
Ejemplo n.º 15
0
 public function __construct($config = array())
 {
     $this->table = 'easyblog_post';
     $this->edit_context = 'com_easyblog.edit.item';
     $this->associate_context = 'com_easyblog.item';
     $this->alias_field = 'permalink';
     $this->translate_fields = array('title', 'content', 'intro', 'excerpt');
     /**
      * @TODO anable reference field to category when translate easyblog category task is enabled
      */
     //$this->reference_fields = array('category_id'=>'easyblog_category');
     $this->translate_filters = array('ispending = 0');
     parent::__construct($config);
 }
Ejemplo n.º 16
0
 public function __construct($config = array())
 {
     $this->table = 'menu';
     $this->edit_context = 'com_menus.edit.item';
     $this->associate_context = 'com_menus.item';
     $this->alias_field = 'alias';
     $this->translate_filters = array('`id`<>1', '`client_id`=0', "`menutype` <> 'default-all'");
     $this->translate_fields = array('title');
     //$this->reference_fields = array('menutype'=>'menu_types');
     $this->reference_tables = array('menu_types');
     $this->nested_field = 'parent_id';
     $this->nested_value = 1;
     parent::__construct($config);
 }
 public function __construct($config = array())
 {
     $this->table_type = 'table_ml';
     $this->language_field = 'language_id';
     $this->language_mode = 'id';
     $this->table = 'mijoshop_option_description';
     $this->primarykey = 'option_id';
     $this->edit_context = 'mijoshop.edit.option';
     $this->associate_context = 'mijoshop.option';
     $this->translate_fields = array('name');
     $this->translate_filters = array();
     $this->alias_field = '';
     $this->title_field = 'name';
     parent::__construct($config);
 }