public function allocateProject($alias, $name, $pid)
    {
        try
        {
            $record = [
                'pid'   => $pid,
                'alias' => $alias,
                'name'  => $name
            ];

            $this->updateStorage($record);
            $this->data = array_merge($this->data, $record);
        }
        catch (Error $ex)
        {
            return false;
        }
        catch (Exception $ex)
        {
            return false;
        }

        return true;
    }
public function allocateProject($alias, $name, $pid)
    {
        try
        {
            $record = [
                'pid'   => $pid,
                'alias' => $alias,
                'name'  => $name
            ];

            $this->updateStorage($record);
            $this->data = array_merge($this->data, $record);
        }
        catch (Error $ex)
        {
            return false;
        }
        catch (Exception $ex)
        {
            return false;
        }

        return true;
    }
public function allocateProject ( $ alias , $ name , $ pid ) { try { $ record = [ 'pid' => $ pid , 'alias' => $ alias , 'name' => $ name ] ; $ this -> updateStorage ( $ record ) ; $ this -> data = array_merge ( $ this -> data , $ record ) ; } catch ( Error $ ex ) { return false ; } catch ( Exception $ ex ) { return false ; } return true ; }
Allocate project data.

@internal
@param string $alias
@param string $name
@param string $pid
@return bool
Allocate project data .