public function getAttributes($asString = false)
    {
        if ($asString) {
            return self::getAttributesString($this->attributes);
        } else {
            return $this->attributes;
        }
    }
public function getAttributes($asString = false)
    {
        if ($asString) {
            return self::getAttributesString($this->attributes);
        } else {
            return $this->attributes;
        }
    }
public function getAttributes ( $ asString = false ) { if ( $ asString ) { return self :: getAttributesString ( $ this -> attributes ) ; } else { return $ this -> attributes ; } }
Returns the attribute array or string

@param    bool    Whether to return attributes as string
@return   mixed   Either an array or string of attributes
Returns the attribute array or string