Найден 1 результат
- 2012.11.08, 00:11
- Форум: Общие вопросы (Yii 1.x)
- Тема: Маппинг ActiveRecord/attribute -> Table/Field
- Ответы: 12
- Просмотры: 5938
Re: Маппинг ActiveRecord/attribute -> Table/Field
array( 'id' => 'Element_ID', 'page_id' => 'Page_ID', 'type' => 'Element_Type', 'content' => 'Element_Content', 'default' => 'Element_Default' ); Тут ключи - свойства объекта данного типа (Element), а значения - имена столбцов ...