public function __construct() { parent::__construct(); $this->limit = 100; $this->filter = array('sitio' => SITESLUG, 'instant_article' => true, 'estado' => 'publicado'); $this->fields = array("_id"); }
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; }
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; }
public function __construct($tipo) { parent::__construct(); $this->filter = array('sitio' => SITESLUG, 'tipo' => $tipo); $this->fields = array("media", "estado"); $this->limit = 1; $this->fields = array(); }
public function __construct() { parent::__construct(); $this->fields = array("id", "nombre", "foto", "nombrecorto", "url", "partido"); $this->filter = array(); $this->sort = array(); $this->limit = false; }
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(); }
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'); }
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(); }
public function __construct() { parent::__construct(); $this->filter = array('_id' => SITESLUG); $this->fields = array(); $this->sort = array(); $this->limit = 100; $this->fields = array(); }
public function __construct() { parent::__construct(); $this->limit = 50; $this->fields = array(); $this->filter = array(); $this->sort = array(); $this->limit = false; }
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; }
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"); }
public function __construct() { parent::__construct(); $this->limit = 1; $this->fields = array(); }