Ejemplo n.º 1
0
 /**
  * Find layout for site
  *
  * @param Sppc_Db_Table_Row_Abstract $site
  * @return Sppc_Site_Layout
  */
 public function findBySite(Sppc_Db_Table_Row_Abstract $site)
 {
     $select = $this->select();
     $select->where('id_site=?', $site->getId());
     return $this->fetchRow($select);
 }
Ejemplo n.º 2
0
 /**
  * Sets channel dimension
  * 
  * @param Sppc_Db_Table_Row_Abstract $dimension
  * @return void
  */
 public function setDimension(Sppc_Db_Table_Row_Abstract $dimension)
 {
     $this->_dimension = $dimension;
     $this->id_dimension = $dimension->getId();
 }