__construct() __construct(string $name = null, integer $tabSize = 4) Constructor Instantiate the CSS selector object Parameters string $name integer $tabSize
setTabSize() setTabSize(integer $tabSize) : self Set tab size Parameters integer $tabSize Returns self
setProperty() setProperty(string $property, string $value) : self Set property Parameters string $property string $value Returns self
setProperties() setProperties(array $properties) : self Set properties Parameters array $properties Returns self
hasProperty() hasProperty(string $property) : boolean Check if selector has property Parameters string $property Returns boolean
getProperty() getProperty(string $property) : string Get property Parameters string $property Returns string
removeProperty() removeProperty(string $property) : self Remove property Parameters string $property Returns self
addComment() addComment(\Pop\Css\Comment $comment) : self Add CSS comment Parameters \Pop\Css\Comment $comment Returns self
minify() minify(boolean $minify = true) : self Set minify flag Parameters boolean $minify Returns self
getIterator() getIterator() : \ArrayIterator Method to iterate over the properties Returns \ArrayIterator
__set() __set(string $name, mixed $value) : void Magic method to set the property to the value of $this->properties[$name] Parameters string $name mixed $value
__get() __get(string $name) : mixed Magic method to return the value of $this->properties[$name] Parameters string $name Returns mixed
__isset() __isset(string $name) : boolean Magic method to return the isset value of $this->properties[$name] Parameters string $name Returns boolean
__unset() __unset(string $name) : void Magic method to unset $this->properties[$name] Parameters string $name
offsetExists() offsetExists(mixed $offset) : boolean ArrayAccess offsetExists Parameters mixed $offset Returns boolean
offsetGet() offsetGet(mixed $offset) : mixed ArrayAccess offsetGet Parameters mixed $offset Returns mixed
offsetSet() offsetSet(mixed $offset, mixed $value) : void ArrayAccess offsetSet Parameters mixed $offset mixed $value