"Learning Joomla! 3 Extension Development, Third Edition"을 샀습니다. 이 책은 최고! Joomla!의 초보자로서! 개발, 그것은 새로운 구성 요소를 구축하는 나의 첫 직업에 많은 도움이됩니다.filter_fields on Joomla 3 Model
public function __construct($config = array())
{
if (empty($config['filter_fields']))
{
$config['filter_fields'] = array(
'id', 'a.id',
'title', 'a.title',
'state', 'a.state',
'company', 'a.company',
'image', 'a.image',
'url', 'a.url',
'phone', 'a.phone',
'description', 'a.description',
'ordering', 'a.ordering', 'a.catid'
);
}
parent::__construct($config);
}
'ID'와 'a.id', '제목'과 'a.title', '전화'와 '사이의 관계는 무엇입니까 : 그러나, 나는 여전히 모델의 구조 기능에 대해 이해하지 못하는 전화 왔어? 윌 joomla! 자동으로 데이터베이스 테이블 또는 무엇에서 값을 할당? '전화 번호'를 '전화 번호'로 변경하면 데이터를 검색 할 수 없습니다. 전에 감사드립니다.