model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : UrlAlias
$className string active record class name.
리턴 UrlAlias the static model class
예제 #1
0
 public function getUrlAlias()
 {
     return UrlAlias::model()->find("query='product_id={$this->product_id}'");
 }
예제 #2
0
 public function getUrlAlias()
 {
     return UrlAlias::model()->find("query='category_id={$this->category_id}'");
 }
예제 #3
0
 public function getUrlAlias()
 {
     return UrlAlias::model()->find("query='manufacturer_id={$this->manufacturer_id}'");
 }