A workspace / organization.
Workspaces cannot be created or deleted through the API, but they can be updated.
- See also
- https://developers.asana.com/docs/asana-workspaces
-
https://developers.asana.com/docs/workspace
|
OrganizationExport | export () |
| Exports the organization. More...
|
|
CustomField[] | findCustomFields (string $text=' *', int $limit=20) |
| Finds custom fields via the typeahead endpoint. More...
|
|
Portfolio[] | findPortfolios (string $text=' *', int $limit=20) |
| Finds portfolios via the typeahead endpoint. More...
|
|
Project[] | findProjects (string $text=' *', int $limit=20) |
| Finds projects via the typeahead endpoint. More...
|
|
Tag[] | findTags (string $text=' *', int $limit=20) |
| Finds tags via the typeahead endpoint. More...
|
|
Task[] | findTasks (string $text=' *', int $limit=20) |
| Finds tasks via the typeahead endpoint. More...
|
|
CustomField[] | getCustomFields () |
| The workspace's custom fields. More...
|
|
magic string[] | getEmailDomains () |
|
magic string | getName () |
|
Portfolio[] | getPortfolios () |
| The API user's portfolios in this workspace. More...
|
|
Project[] | getProjects (array $filter=Project::GET_ACTIVE) |
| The workspace's projects. More...
|
|
Tag[] | getTags () |
| The workspace's active tags. More...
|
|
Team[] | getTeams () |
| The organization's teams. More...
|
|
null User | getUserByEmail (string $email) |
| Checks the pool before fetching. More...
|
|
ProjectWebhook[] TaskWebhook[] | getWebhooks () |
|
bool | isOrganization () |
|
CustomField | newCustomField () |
| Factory. More...
|
|
Portfolio | newPortfolio () |
| Factory. More...
|
|
Project | newProject () |
| Factory. More...
|
|
Tag | newTag () |
| Factory. More...
|
|
Task | newTask () |
| Factory. More...
|
|
magic CustomField[] | selectCustomFields (callable $filter) |
| fn( CustomField $field ): bool More...
|
|
magic Portfolio[] | selectPortfolios (callable $filter) |
| fn( Portfolio $portfolio ): bool More...
|
|
magic Project[] | selectProjects (callable $filter, array $apiFilter=Project::GET_ACTIVE) |
| fn( Project $project ): bool More...
|
|
magic Tag[] | selectTags (callable $filter) |
| Active tags. More...
|
|
magic Team[] | selectTeams (callable $filter) |
| fn( Team $team ): bool More...
|
|
magic $this | setName (string $name) |
|
string | __toString () |
| The entity's canonical REST path. More...
|
|
null string | getGid () |
|
bool | hasGid () |
|
$this | reload () |
| Fully reloads the entity from Asana. More...
|
|
mixed | __call (string $method, array $args) |
| Magic method handler. More...
|
|
| __construct (Api|self $caller, array $data=[]) |
|
array | __serialize () |
|
void | __unserialize (array $data) |
|
bool | isDiff () |
| Whether the instance has changes. More...
|
|
array | jsonSerialize () |
|
bool | offsetExists (mixed $offset) |
|
mixed | offsetGet (mixed $offset) |
|
void | offsetSet (mixed $offset, mixed $value) |
|
void | offsetUnset (mixed $offset) |
|
array | toArray (bool $diff=false) |
| Dehydrated data. More...
|
|
void | offsetSet (mixed $offset, mixed $value) |
| Throws unless overridden. More...
|
|
$this | update () |
| PUT the data diff to Asana, if there is one. More...
|
|
User[] | getUsers () |
|
magic User[] | selectUsers (callable $filter) |
| fn( User $user ): bool More...
|
|
|
T[] | _find (string $class, string $text=' *', int $limit=20) |
| Finds entities via the typeahead endpoint. More...
|
|
mixed | _get (string $field) |
| Lazy-loads missing fields. More...
|
|
void | _reload (string $field) |
|
void | _setData (array $data) |
|
bool | _has (string $field) |
| Magic method: hasField() More...
|
|
T | _hydrate (string $class, $item) |
| Sub-data factory that draws from the entity pool. More...
|
|
bool | _is (string $field) |
| Magic method: isField() More...
|
|
bool | _of (string $resourceSubtype) |
| Magic method: ofResourceSubtypeValue() More...
|
|
array | _select (string|iterable $subject, callable $filter,... $args) |
| Magic method: selectField(callable $filter) More...
|
|
$this | _set (string $field, $value) |
| Magic method: setField(mixed $value) More...
|
|
void | _setField (string $field, $value) |
| Sets a value, hydrating if mapped, and clears the diff. More...
|
|