lib/DataSift/Pylon.php
public function findAll(
        $page = 1,
        $per_page = 20,
        $order_by = self::ORDERBY_CREATED_AT,
        $order_dir = self::ORDERDIR_ASC
    ) {
        $results = self::getAll($this->_user, $page, $per_page, $order_by, $order_dir);

        if (isset($results['subscriptions'])) { // Cope with pagination
            $results = $results['subscriptions'];
        }

        $retval = array();

        foreach ($results as $pylon) {
            $retval[] = new self($this->_user, $pylon);
        }

        return $retval;
    }
public function findAll(
        $page = 1,
        $per_page = 20,
        $order_by = self::ORDERBY_CREATED_AT,
        $order_dir = self::ORDERDIR_ASC
    ) {
        $results = self::getAll($this->_user, $page, $per_page, $order_by, $order_dir);

        if (isset($results['subscriptions'])) { // Cope with pagination
            $results = $results['subscriptions'];
        }

        $retval = array();

        foreach ($results as $pylon) {
            $retval[] = new self($this->_user, $pylon);
        }

        return $retval;
    }
public function findAll ( $ page = 1 , $ per_page = 20 , $ order_by = self :: ORDERBY_CREATED_AT , $ order_dir = self :: ORDERDIR_ASC ) { $ results = self :: getAll ( $ this -> _user , $ page , $ per_page , $ order_by , $ order_dir ) ; if ( isset ( $ results [ 'subscriptions' ] ) ) { // Cope with pagination $ results = $ results [ 'subscriptions' ] ; } $ retval = array ( ) ; foreach ( $ results as $ pylon ) { $ retval [ ] = new self ( $ this -> _user , $ pylon ) ; } return $ retval ; }
Class method to find all Subscriptions


@return DataSift_Pylon
Class method to find all Subscriptions