PHP 클래스 UserToken

The followings are the available columns in table '{{user_tokens}}':
상속: extends yupe\models\YModel
파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$oldStatus integer Старый статус

공개 메소드들

메소드 설명
attributeLabels ( ) : array
beautifyDate ( string $dateField, string $format = 'yyyy-MM-dd HH:mm' ) : string Форматирование даты:
beforeSave ( ) : boolean
beforeValidate ( ) : boolean
compromise ( ) : boolean
getDateList ( string $dateField = 'create_time' ) : array Получаем список дат:
getFullName ( ) : mixed Получаем полное имя пользователя:
getIsCompromised ( ) : boolean
getStatus ( ) : mixed Получаем строковое занчение статуса:
getStatusList ( ) : array Список статусов:
getType ( ) : mixed Получаем строковое занчение типа:
getTypeList ( ) : array Список типов:
getUserList ( ) : array Получаем список пользователей:
model ( string $className = __CLASS__ ) : UserToken Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array customized attribute labels (name=>label)

beautifyDate() 공개 정적인 메소드

Форматирование даты:
public static beautifyDate ( string $dateField, string $format = 'yyyy-MM-dd HH:mm' ) : string
$dateField string - дата
$format string - формат
리턴 string

beforeSave() 공개 메소드

public beforeSave ( ) : boolean
리턴 boolean

beforeValidate() 공개 메소드

public beforeValidate ( ) : boolean
리턴 boolean

compromise() 공개 메소드

public compromise ( ) : boolean
리턴 boolean

getDateList() 공개 정적인 메소드

Получаем список дат:
public static getDateList ( string $dateField = 'create_time' ) : array
$dateField string - для какого поля
리턴 array

getFullName() 공개 메소드

Получаем полное имя пользователя:
public getFullName ( ) : mixed
리턴 mixed

getIsCompromised() 공개 메소드

public getIsCompromised ( ) : boolean
리턴 boolean

getStatus() 공개 메소드

Получаем строковое занчение статуса:
public getStatus ( ) : mixed
리턴 mixed

getStatusList() 공개 메소드

Список статусов:
public getStatusList ( ) : array
리턴 array status list

getType() 공개 메소드

Получаем строковое занчение типа:
public getType ( ) : mixed
리턴 mixed

getTypeList() 공개 정적인 메소드

Список типов:
public static getTypeList ( ) : array
리턴 array type list

getUserList() 공개 정적인 메소드

Получаем список пользователей:
public static getUserList ( ) : array
리턴 array User List

model() 공개 정적인 메소드

Please note that you should have this exact method in all your CActiveRecord descendants!
public static model ( string $className = __CLASS__ ) : UserToken
$className string active record class name.
리턴 UserToken the static model class

relations() 공개 메소드

public relations ( ) : array
리턴 array relational rules.

rules() 공개 메소드

public rules ( ) : array
리턴 array validation rules for model attributes.

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name

프로퍼티 상세

$oldStatus 보호되어 있는 프로퍼티

Старый статус
protected int $oldStatus
리턴 integer