\LanguagesControllerLanguages

    Synopsis

    class LanguagesControllerLanguages extends JControllerAdmin {
    • // Inherited members from JObject
    • protected  $_errors;
    }

    Hierarchy

    Members

    protected

    • $_errors — array
      An array of error messages or Exception objects.
    • $basePath — string
      The base path of the controller
    • $default_view — string
      The default view for the display method.
    • $doTask — string
      The mapped task that was performed.
    • $inputJInput
      Hold a JInput object for easier access to the input variables.
    • $instanceJControllerLegacy
      Instance container.
    • $message — string
      Redirect message.
    • $messageType — string
      Redirect message type.
    • $methods — array
      Array of class methods
    • $model_prefix — string
      The prefix of the models
    • $name — array
      The name of the controller
    • $option — string
      The URL option for the component.
    • $paths — array
      The set of search directories for resources (views).
    • $redirect — string
      URL for redirection.
    • $task — string
      Current or most recently performed task.
    • $taskMap — array
      Array of class methods to call for a given task.
    • $text_prefix — string
      The prefix to use with controller messages.
    • $view_list — string
      The URL view list variable.

    Methods

    public

    • getModel() — Method to get a model object, loading it if required.
    • saveOrderAjax() — Method to save the submitted ordering values for records via AJAX.

    Inherited from JControllerAdmin

    protected

    • postDeleteHook() — Function that allows child controller access to model data after the item has been deleted.

    public

    • checkin() — Check in of one or more records.
    • delete() — Removes an item.
    • display() — Display is not supported by this controller.
    • publish() — Method to publish a list of items
    • reorder() — Changes the order of one or more records.
    • saveOrderAjax() — Method to save the submitted ordering values for records via AJAX.
    • saveorder() — Method to save the submitted ordering values for records.

    Inherited from JControllerLegacy

    protected

    • addPath() — Adds to the search path for templates and resources.
    • checkEditId() — Method to check whether an ID is in the edit list.
    • createFileName() — Create the filename for a resource.
    • createModel() — Method to load and return a model object.
    • createView() — Method to load and return a view object. This method first looks in the current template directory for a match and, failing that, uses a default set path to load the view class file.
    • holdEditId() — Method to add a record ID to the edit list.
    • releaseEditId() — Method to check whether an ID is in the edit list.
    • setPath() — Sets an entire array of search paths for resources.

    public

    • addModelPath() — Adds to the stack of model paths in LIFO order.
    • addViewPath() — Add one or more view paths to the controller's stack, in LIFO order.
    • authorise() — Authorisation check
    • display() — Typical view method for MVC based architecture
    • execute() — Execute a task by triggering a method in the derived class.
    • getInstance() — Method to get a singleton controller instance.
    • getModel() — Method to get a model object, loading it if required.
    • getName() — Method to get the controller name
    • getTask() — Get the last task that is being performed or was most recently performed.
    • getTasks() — Gets the available tasks in the controller.
    • getView() — Method to get a reference to the current view and load it if necessary.
    • redirect() — Redirects the browser or returns false if no redirect is set.
    • registerDefaultTask() — Register the default task to perform if a mapping is not found.
    • registerTask() — Register (map) a task to a method in the class.
    • setMessage() — Sets the internal message that is passed with a redirect
    • setRedirect() — Set a URL for browser redirection.
    • unregisterTask() — Unregister (unmap) a task in the class.

    Inherited from JObject

    public

    • __toString() — Magic method to convert the object to a string gracefully.
    • def() — Sets a default value if not alreay assigned
    • get() — Returns a property of the object or the default value if the property is not set.
    • getError() — Get the most recent error message.
    • getErrors() — Return all errors, if any.
    • getProperties() — Returns an associative array of object properties.
    • set() — Modifies a property of the object, creating it if it does not already exist.
    • setError() — Add an error message.
    • setProperties() — Set the object properties based on a named array/hash.