db\ActiveRecord getTableSchema()

getTableSchema() public static method

Returns the schema information of the DB table associated with this AR class.

public static yii\db\TableSchema getTableSchema ( )
return yii\db\TableSchema

The schema information of the DB table associated with this AR class.

throws yii\base\InvalidConfigException

if the table for the AR class does not exist.

doc_Yii
2016-10-30 16:56:20
Comments
Leave a Comment

Please login to continue.