public static function getModelArticleAll() { $model = new self(array()); $model->collectionArticle = ArticleGateway::getArticleAll($model->dataError); return $model; }
public static function getModelArticleAll() { $model = new ModelArticle(); $model->setData(ArticleGateway::getArticleAll($model->error)); return $model; }