public function add(ListCreationInformation $properties)
    {
        $list = new SPList($this->getContext());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$properties);
        $this->getContext()->addQuery($qry,$list);
        $this->addChild($list);
        return $list;
    }
public function add(ListCreationInformation $properties)
    {
        $list = new SPList($this->getContext());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$properties);
        $this->getContext()->addQuery($qry,$list);
        $this->addChild($list);
        return $list;
    }
public function add ( ListCreationInformation $ properties ) { $ list = new SPList ( $ this -> getContext ( ) ) ; $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , null , null , $ properties ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ list ) ; $ this -> addChild ( $ list ) ; return $ list ; }
Creates a List resource
@param ListCreationInformation $properties
@return SPList
Creates a List resource