Exemplo n.º 1
0
	function SSObject ($attrs = array())
	{
		if (preg_match_all("/:(\w+)/", $this->uri(), $matches))
		{
			$this->__uri = array();

			foreach ($matches[1] as $key)
				$this->__uri[$key] = ArrayHelper::array_delete($attrs, $key);
		}

		$this->attributes = $attrs;
	}