프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_position | integer | ||
$storage | ArrayObject |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
addMeta ( String $property, Mixed $content, String $position ) : |
Add meta | |
clear ( ) : void | Clear elements of storage | |
count ( ) : integer | Count elements of an object | |
current ( ) : mixed | Return the current element | |
getArrayCopy ( ) : Array | Get array | |
getMeta ( String $property ) : |
Get meta by property name | |
getMetas ( ) : ArrayObject | ||
hasMeta ( String $property ) : boolean | Check is meta exists | |
key ( ) : scalar | Return the key of the current element | |
next ( ) : void | Move forward to next element | |
removeMeta ( String $property ) : boolean | Remove meta | |
rewind ( ) : void | Rewind the Iterator to the first element | |
serialize ( ) : string | String representation of object | |
unserialize ( string $data ) : void | Constructs the object form string | |
valid ( ) : boolean | Checks if current position is valid |
메소드 | 설명 | |
---|---|---|
_normalizeContent ( String $property, Mixed $content ) : Mixed | Normalize content |
protected _normalizeContent ( String $property, Mixed $content ) : Mixed | ||
$property | String | |
$content | Mixed | |
리턴 | Mixed |
public addMeta ( String $property, Mixed $content, String $position ) : |
||
$property | String | |
$content | Mixed | |
$position | String | |
리턴 |
public getMeta ( String $property ) : |
||
$property | String | |
리턴 |
public removeMeta ( String $property ) : boolean | ||
$property | String | |
리턴 | boolean |
public unserialize ( string $data ) : void | ||
$data | string | The string representation of the object. |
리턴 | void |