Esempio n. 1
0
 /**
  * @param $ajkId
  * @param int $typeFlag
  * @return array
  */
 public static function getAreaByAjkId($ajkId, $typeFlag = 1)
 {
     $result = Dao_Broker_HzProp::getBlocks(array('where' => 'ajk_id=? and typeflag=? limit 1', 'params' => array($ajkId, $typeFlag)));
     return isset($result[0]) ? $result[0] : array();
 }