Пример #1
0
 /**
  * Print HTML-formatted debug output for the object data.
  *
  * @param boolean $print Whether to print or to return the object data debug output.
  *
  * @return string|void Debug output.
  */
 public function prayerData($print = true)
 {
     if ($print) {
         return prayer($this->_objData);
     }
     return _prayer($this->_objData);
 }
Пример #2
0
 /**
  * Print HTML-formatted debug output for the object data.
  *
  * @param boolean $print  Whether to print or to return the object data debug output.
  * @param integer $offset Object row offset.
  *
  * @return string|void Debug output.
  */
 public function prayerData($print = true, $offset = null)
 {
     if ($print) {
         if ($offset !== null) {
             return prayer($this->_objData[$offset]);
         }
         prayer($this->_objData);
     }
     if ($offset !== null) {
         return _prayer($this->_objData[$offset]);
     }
     return _prayer($this->_objData);
 }