/** * Get real shipments (type != describing) for current user * @method getRealShipments * @static * @return Object */ static function getRealShipments() { $env = self::getVars(); if (!self::$realShipments) { self::$realShipments = Streams::related($env->userId, $env->communityId, $env->shipmentsStreamName, true, array("where" => "type != 'describing'")); } return self::$realShipments; }