Feature #39

avatar

plugin arguments helper

Added by Lorenzo Pisani over 2 years ago. Updated over 2 years ago.

Status:Closed Start:05/09/2009
Priority:Normal Due date:
Assigned to:avatarLorenzo Pisani % Done:

100%

Category:-
Target version:0.2.0
Resolution:

fixed


Description

plugins need to get arguments from URL, Pivots, and Nodes (cascade with URL overwriting pivots which overwrite nodes)

syntax can look something like this

arguments::get($plugin); //returns an array of arguments like
$array =
(
  'page' => '5',
  'another_argument' => 'another value',
);
arguments::get_all(); //returns all the arguments grouped by plugin like
$array = 
(
  'wiki_content' => array
  (
    'page' => '5',
    'another_argument' => 'another value',
  ),
);

History

Updated by Lorenzo Pisani over 2 years ago

avatar
  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

fixed also in a few revisions

adf47f7a
669034d8
b1e59efa
e9fb67f6

2 methods in the arguments helper, get($pivot), get_model_args($orm)

Also available in: Atom PDF