PATH:
home
/
letacommog
/
letaweb
/
admin
/
models
/
subsite_models
<?php class BNews_Categories extends BActiveRecord { public $maxId; public $maxsort_order; public static function model($className = __CLASS__) { return parent::model($className); } public function tableName() { return '{{news_categories}}'; } public function relations() { return array( 'news' => array(self::HAS_MANY, 'BNews', 'main_category_id'), 'news_news_category' => array(self::HAS_MANY, 'BNews_News_Category', 'category_id'), 'news_list' => array(self::HAS_MANY, 'BNews', 'news_id','through' => 'news_news_category'), ); } }
[+]
..
[-] BTag.php
[edit]
[-] BActiveRecord.php
[edit]
[-] BModule.php
[edit]
[-] BPages.php
[edit]
[-] BComments.php
[edit]
[-] BNews_News_Category.php
[edit]
[-] BNewsModule.php
[edit]
[-] BAuthAssignment.php
[edit]
[-] BNewsCategory.php
[edit]
[-] BConfigurations.php
[edit]
[-] BPages_Elements.php
[edit]
[-] BNews_Comments.php
[edit]
[-] BNews_Categories.php
[edit]
[-] BUsers.php
[edit]
[-] BUserIdentity.php
[edit]
[-] BNews.php
[edit]
[-] BWebUser.php
[edit]
[+]
forms
[-] BColors.php
[edit]
[-] BSkins.php
[edit]
[-] BNews_Tag.php
[edit]
[-] BContributor_Invites.php
[edit]
[-] BContributor.php
[edit]