示例#1
0
 function fetchWaiting($blockID)
 {
     $result = array('result' => eZFlowPool::waitingItems($blockID));
     return $result;
 }
    /**
     * Fetches waiting items and do merge with those already available
     *
     * @return array(eZPageBlockItem)
     */
    protected function getWaitingItems()
    {
        $waitingItems = eZFlowPool::waitingItems( $this->id() );
        $merged = $this->merge( $waitingItems, true );
        usort( $merged, array( $this, 'sortItems' ) );

        return $merged;
    }