System:App:moduleControls

From Aspen Documentation

Items documented on this page are used in the demo aspen application, but may change in future revisions. Please consider these features experimental and watch the revision compatibility notes.

Returns an array of all non-base modules that are either awaiting install or that may be uninstalled, with links to perform the actions.

Since 1.0

Arguments

array moduleControls ()

Returns

Returns an array of simplexml objects, or an empty array.

Examples

$this->APP->moduleControls();

The above command will return the following for a blog module awaiting install:

Array
(
    [0] => Array
        (
            [name] => SimpleXMLElement Object
                (
                    [0] => Blog
                )

            [guid] => SimpleXMLElement Object
                (
                    [0] => 5f1d4368-f946-b242-7e41-d58a03d6a858
                )

            [install] => 1
        )

)