getPropertyKeys() публичный Метод

Get a list of all property keys in this document
public getPropertyKeys ( )
Пример #1
0
 public function __construct(Shanty_Mongo_Document $document)
 {
     $this->_document = $document;
     $this->_properties = $document->getPropertyKeys();
     $this->_position = current($this->_properties);
     reset($this->_properties);
 }
Пример #2
0
 /**
  * Get the property keys for this Document Set
  * 
  * @return array
  */
 public function getPropertyKeys()
 {
     $keys = parent::getPropertyKeys();
     sort($keys, SORT_NUMERIC);
     return $keys;
 }