Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.7.0
- * @ Author : DeZender
- * @ Release on : 22.06.2017
- * @ Official site : http://DeZender.Net
- *
- */
- class Pas_Library_Db_Row extends Zend_Db_Table_Row
- {
- /**
- * List of child models to allow lazy loading of its children
- *
- * @var array
- */
- public $_children = null;
- /**
- * List of parent models to allow lazy loading of its parents
- *
- * @var array
- */
- public $_parents = null;
- /**
- * @name __construct
- *
- * @param array $row
- * @param string $table
- *
- * @return Pas_Library_Db_Row
- */
- public function __construct($row, $table = NULL)
- {
- parent::__construct( array(
- 'data' => $row['data'],
- 'table' => $row['table'],
- 'stored' => true
- ) );
- }
- /**
- * @name fetchAll
- * @brief convenience function to call Zend_Db_Table->fetchAll() statically
- *
- * @param mixed $where
- * @param mixed $order
- * @param mixed $count
- * @param mixed $offset
- */
- public static function fetchAll($where = NULL, $order = NULL, $count = NULL, $offset = NULL)
- {
- return Pas_Library_Db::getTable( get_called_class( ) )->fetchAll( self::buildWhere( $where ), $order, $count, $offset );
- }
- /**
- * @name fetchRow
- * @brief convienence function to call Zend_Db_Table->fetchRow() statically
- *
- * @param mixed $where
- * @param mixed $order
- * @param mixed $offset
- *
- * @return Pas_Library_Db_Table_Abstract
- */
- public static function fetchRow($where = NULL, $order = NULL, $offset = NULL)
- {
- return Pas_Library_Db::getTable( get_called_class( ) )->fetchRow( self::buildWhere( $where ), $order, $offset );
- }
- /**
- * @name insert
- * @brief convienence function to call Zend_Db_Table->insert()
- *
- * @param array $map
- *
- * @return mixed
- */
- public static function insert($map)
- {
- return Pas_Library_Db::getTable( get_called_class( ) )->insert( $map );
- ...........................................................................
- .......................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement