public function putItem($name, $value = null)
    {
        if (is_null($name) || is_int($name)) {
            $this->_items[] = $value;
        } else {
            $this->_items[$name] = $value;
        }
    }
public function putItem($name, $value = null)
    {
        if (is_null($name) || is_int($name)) {
            $this->_items[] = $value;
        } else {
            $this->_items[$name] = $value;
        }
    }
public function putItem ( $ name , $ value = null ) { if ( is_null ( $ name ) || is_int ( $ name ) ) { $ this -> _items [ ] = $ value ; } else { $ this -> _items [ $ name ] = $ value ; } }
Straight put an item.
@param string $name  item name
@param array  $value item value
Straight put an item .