コード例 #1
0
ファイル: Iarticle.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 100;
     $this->filter = array('sitio' => SITESLUG, 'instant_article' => true, 'estado' => 'publicado');
     $this->fields = array("_id");
 }
コード例 #2
0
ファイル: Brandcontent.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'estado' => 'publicado', 'tipo' => 'brandcontent');
     $this->fields = array("fecha_publicacion", "bajada", "contenido", "titulo", "imagen_portada", "_id", "categoria");
     $this->limit = 5;
 }
コード例 #3
0
ファイル: Tag.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'estado' => 'publicado');
     $this->fields = array("fecha_publicacion", "bajada", "titulo", "imagen_portada", "_id");
     $this->limit = 100;
 }
コード例 #4
0
ファイル: Player2.php プロジェクト: tresemece/monte
 public function __construct($tipo)
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'tipo' => $tipo);
     $this->fields = array("media", "estado");
     $this->limit = 1;
     $this->fields = array();
 }
コード例 #5
0
ファイル: Candidatos.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->fields = array("id", "nombre", "foto", "nombrecorto", "url", "partido");
     $this->filter = array();
     $this->sort = array();
     $this->limit = false;
 }
コード例 #6
0
ファイル: Alert2.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'status' => 1, 'publish' => 1);
     $this->fields = array("imagen", "titulo", "cuerpo", "url", "tipo", "data_factory_id");
     $this->limit = 1;
     $this->fields = array();
 }
コード例 #7
0
ファイル: Podcast2.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('estado' => 1);
     //        $this->fields = array();
     //        $this->limit = 1;
     $this->fields = array('nombre', 'bajada', 'nombre', 'branded', 'branded_url', 'lista');
 }
コード例 #8
0
ファイル: Socialtv2.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('sitio' => SITESLUG, 'status' => (int) 1, 'publish' => (int) 1);
     $this->fields = array("titulo", "contenido");
     $this->limit = 1;
     $this->fields = array();
 }
コード例 #9
0
ファイル: Ptemas.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('_id' => SITESLUG);
     $this->fields = array();
     $this->sort = array();
     $this->limit = 100;
     $this->fields = array();
 }
コード例 #10
0
ファイル: Usuario.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 50;
     $this->fields = array();
     $this->filter = array();
     $this->sort = array();
     $this->limit = false;
 }
コード例 #11
0
ファイル: Resumeh.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 50;
     $this->fields = array("nombre", "bajada", "lista");
     $this->filter = array('sitio' => SITESLUG, 'estado' => 1);
     $this->sort = array();
     $this->limit = false;
 }
コード例 #12
0
ファイル: Seccion.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->filter = array('categoria_slug' => new \MongoRegex("/^" . SITESLUG . "/"), 'estado' => 'publicado');
     $this->fields = array("fecha_publicacion", "bajada", "titulo", "imagen_portada", "_id");
 }
コード例 #13
0
ファイル: Nota.php プロジェクト: tresemece/monte
 public function __construct()
 {
     parent::__construct();
     $this->limit = 1;
     $this->fields = array();
 }