Hacked By AnonymousFox
<?xml version="1.0" encoding="windows-1252"?>
<XMI xmi.version="1.1" xmlns:UML="omg.org/UML1.3" timestamp="2005-08-22 11:12:54">
<XMI.header>
<XMI.documentation>
<XMI.exporter>Enterprise Architect</XMI.exporter>
<XMI.exporterVersion>2.5</XMI.exporterVersion>
</XMI.documentation>
</XMI.header>
<XMI.content>
<UML:Model name="EA Model" xmi.id="MX_EAID_4B0C57B6_268B_4109_8909_F7FD1E17C16A">
<UML:Namespace.ownedElement>
<UML:Class name="EARootClass" xmi.id="EAID_11111111_5487_4080_A7F4_41526CB0AA00" isRoot="true" isLeaf="false" isAbstract="false"/>
<UML:Package name="ConsoleTools" xmi.id="EAPK_4B0C57B6_268B_4109_8909_F7FD1E17C16A" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
<UML:ModelElement.stereotype>
<UML:Stereotype xmi.idref="EAID_1D64E7C3_A572_4044_9F13_82E10C926C05"/>
</UML:ModelElement.stereotype>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Provides functionality for working on the console. This means the
ability to parse options to scripts and output to consoles."/>
<UML:TaggedValue tag="created" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="modified" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="iscontrolled" value="TRUE"/>
<UML:TaggedValue tag="xmlpath" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\design\console.xml"/>
<UML:TaggedValue tag="lastloaddate" value="2005-08-18 14:20:20"/>
<UML:TaggedValue tag="lastsavedate" value="2005-08-22 11:12:54"/>
<UML:TaggedValue tag="isprotected" value="FALSE"/>
<UML:TaggedValue tag="usedtd" value="FALSE"/>
<UML:TaggedValue tag="owner" value="Jan Borsodi"/>
<UML:TaggedValue tag="xmiver" value="Enterprise Architect XMI/UML 1.3"/>
<UML:TaggedValue tag="logxml" value="FALSE"/>
<UML:TaggedValue tag="codepath" value="E:\src\ezcomponents\ConsoleTools"/>
<UML:TaggedValue tag="tpos" value="0"/>
<UML:TaggedValue tag="packageFlags" value="CRC=0;"/>
<UML:TaggedValue tag="batchsave" value="0"/>
<UML:TaggedValue tag="batchload" value="0"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="author" value="Tobias Schlitt"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="stereotype" value="ezcomponent"/>
<UML:TaggedValue tag="ea_stype" value="Public"/>
<UML:TaggedValue tag="tpos" value="0"/>
</UML:ModelElement.taggedValue>
<UML:Namespace.ownedElement>
<UML:Collaboration xmi.id="EAID_4B0C57B6_268B_4109_8909_F7FD1E17C16A_Collaboration" name="Collaborations">
<UML:Namespace.ownedElement>
<UML:ClassifierRole name="console" xmi.id="EAID_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" visibility="public" base="EAID_11111111_5487_4080_A7F4_41526CB0AA00">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Package"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="EAPK_4B0C57B6_268B_4109_8909_F7FD1E17C16A"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="date_modified" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package2" value="EAID_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="package_name" value="ConsoleTools"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:ClassifierRole>
</UML:Namespace.ownedElement>
<UML:Collaboration.interaction/>
</UML:Collaboration>
<UML:Package name="console" xmi.id="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="created" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="modified" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="iscontrolled" value="FALSE"/>
<UML:TaggedValue tag="lastloaddate" value="2005-08-18 14:20:18"/>
<UML:TaggedValue tag="lastsavedate" value="2005-08-18 14:20:18"/>
<UML:TaggedValue tag="isprotected" value="FALSE"/>
<UML:TaggedValue tag="usedtd" value="FALSE"/>
<UML:TaggedValue tag="logxml" value="FALSE"/>
<UML:TaggedValue tag="codepath" value="E:\src\ezcomponents\ConsoleTools\console"/>
<UML:TaggedValue tag="batchsave" value="0"/>
<UML:TaggedValue tag="batchload" value="0"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="ea_stype" value="Public"/>
</UML:ModelElement.taggedValue>
<UML:Namespace.ownedElement>
<UML:Collaboration xmi.id="EAID_9300B830_36D9_4e00_AE7D_EA3DA9B092B9_Collaboration" name="Collaborations">
<UML:Namespace.ownedElement>
<UML:ClassifierRole name="parameter" xmi.id="EAID_4C33B478_0B96_4ef1_B7E8_0F64B60CC675" visibility="public" base="EAID_11111111_5487_4080_A7F4_41526CB0AA00">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Package"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:35"/>
<UML:TaggedValue tag="date_modified" value="2005-08-12 09:19:35"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package2" value="EAID_4C33B478_0B96_4ef1_B7E8_0F64B60CC675"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:ClassifierRole>
<UML:ClassifierRole name="output" xmi.id="EAID_4D026C21_9F61_4699_BBE9_ED9516605496" visibility="public" base="EAID_11111111_5487_4080_A7F4_41526CB0AA00">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Package"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="date_modified" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package2" value="EAID_4D026C21_9F61_4699_BBE9_ED9516605496"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:ClassifierRole>
</UML:Namespace.ownedElement>
<UML:Collaboration.interaction/>
</UML:Collaboration>
<UML:Class name="ezcConsoleStatusbar" xmi.id="EAID_4F677B5E_DCEC_4413_9FB2_A9753E5E62E8" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creating and maintaining statusbars to be printed to the console.
<code> ... creating ezcConsoleOutput object $opt = array( 'successChar' => '+', 'failureChar' => '-', ); $status = new ezcConsoleStatusbar($opt); foreach ($files as $file) { $res = $file->upload(); $status->add($res); // $res is true or false } $msg = $status->getSuccess().' succeeded, '.$status->getFailure().' failed.'; $out->outputText("Finished uploading files. $msg \n");
</code>
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-19 11:51:29"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:51:50"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\statusbar.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=629e;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="options" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array(
'successChar' => '+', // Char to indicate success
'failureChar' => '-', // Char to indicate failure
)"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Options
<code> array( 'successChar' => '+', // Char to indicate success 'failureChar' => '-', // Char to indicate failure );
</code>
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{F33A1CE4-BFEA-4f77-A62F-27EBE1039C85}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="outputHandler" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="The ezcConsoleOutput object to use.
@var ezcConsoleOutput"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{AF891708-6CAF-47ce-AC06-786978028DEF}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creates a new status bar.
@param ezcConsoleOutput $outHandler Handler to utilize for output
@param array(string) $settings Settings
@param array(string) $options Options
@see ezcConsoleStatusbar::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{CBE6BEE8-62F4-4986-877A-DD4AB9BD61E5}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-62F4-4986-877A-DD4AB9BD61E5}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="outHandler" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="classifier" value="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
<UML:TaggedValue tag="ea_guid" value="{39827121-CD9A-46ae-8A2E-DA9973EE4935}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{A4C17CAC-8160-482b-9A83-BC834F8E3656}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="add" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Add a status to the status bar. Adds a new status to the bar which is printed immediatelly. If the cursor is currently not at the beginning of a line, it will move to the next line.
@param bool $status Print successChar on true, failureChar on false."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{DEBB3332-5AFA-4648-89C4-ABC6B5ED6C94}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-5AFA-4648-89C4-ABC6B5ED6C94}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="status" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{5BB0E5EA-65A6-4426-A912-35384AB3F5F2}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getSuccesses" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns number of successes during the run. Returns the number of success characters printed from this status bar.
@returns int Number of successes."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{81A9D66D-CD01-43b3-96F4-20C81BC8CA16}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-CD01-43b3-96F4-20C81BC8CA16}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getFailures" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns number of failures during the run. Returns the number of failure characters printed from this status bar.
@returns int Number of failures."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{88FCD858-D6D5-434c-A23D-753DB261B31A}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-D6D5-434c-A23D-753DB261B31A}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Association xmi.id="EAID_8273AECA_7516_4847_9960_34C4FF71F006" visibility="public" isRoot="false" isLeaf="false" isAbstract="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="3"/>
<UML:TaggedValue tag="ea_type" value="Aggregation"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="3"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
<UML:Association.connection>
<UML:AssociationEnd visibility="public" aggregation="none" isOrdered="false" isNavigable="false" type="EAID_65A37092_56CE_4e5a_8C30_366469BD8468">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
<UML:AssociationEnd visibility="public" aggregation="shared" isOrdered="false" isNavigable="true" type="EAID_4F677B5E_DCEC_4413_9FB2_A9753E5E62E8">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
</UML:Association.connection>
</UML:Association>
<UML:Comment xmi.id="EAID_55B8BBC5_46DA_4e67_9A1D_1120F11D48E7" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Text"/>
<UML:TaggedValue tag="ea_ntype" value="18"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:20:09"/>
<UML:TaggedValue tag="date_modified" value="2005-08-12 09:20:09"/>
<UML:TaggedValue tag="gentype" value="<none>"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:Comment>
<UML:Class name="ezcConsoleOutput" xmi.id="EAID_65A37092_56CE_4e5a_8C30_366469BD8468" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Class for handling console output. This class handles outputting text to the console. It deals with styling text in different ways and offers some comfortable options to deal with console text output.
<code> $opts = array( 'verboseLevel' => 10, // extremly verbose 'autobreak' => 40, // will break lines every 40 chars 'styles' => array( 'default' => 'green', // green default text 'success' => 'white', // white success messages ), ); $out = new ezcConsoleOutput($opts); $out->outputText('This is default text '); $out->outputText('including success message', 'success'); $out->outputText("and a manual linebreak.\n"); $out->outputText("Some verbose output.\n", null, 10); $out->outputText("And some not so verbose, bold output.\n", 'bold', 5);
</code>
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:35"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:42:35"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\output.php"/>
<UML:TaggedValue tag="genoptions" value="nKill=0;sLang=PHP;bConstructor=1;bConInline=0;sConScope=Public;bCpyConstructor=0;bCpyConInline=0;sCpyConScope=Public;bDestructor=1;bDesVirtual=1;bDesInline=0;sDesScope=Public;CHeader=.h;CBody=.cpp;JBody=.java;VBody=.cls;VBNetBody=.vb;sAssocName=$LinkClass;bGetSet=1;bGenInterfaces=1;JCol=Vector;CCol=[];VCol=Collection;bVMultiuse=1;bVPersist=0;bVDatabind=0;bVDatasource=0;bVGlobal=0;bVCreatable=1;bVExposed=0;sMTS=0;sCRefType=*;sCGetPrefix=Get;sCSetPrefix=Set;sJGetPrefix=get;sJSetPrefix=set;sCSGetPrefix=Get;sCSSetPrefix=Set;sVVersion=6.0;CSBody=.cs;DBody=.pas;bJInnerClasses=1;sJCollection=;sCodePage=;sPHPBody=.php;sPHPVersion=5.0;sPHPGetPrefix=get;sPHPSetPrefix=set;nLang=-1;"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=f7da;"/>
<UML:TaggedValue tag="$ea_attsclassified" value="{AF891708-6CAF-47ce-AC06-786978028DEF},{5DEF0E6B-4A38-4bc6-B053-6C114AE6EC99},{38166CA5-115F-4705-A391-4B122E210FED}"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="options" changeable="none" visibility="private" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array(
'verboseLevel' => 1,
'useStyles' => true,
'styles' => array(
'default' => '',
'error' => 'red',
'warning' => 'yellow',
'success' => 'green',
'file' => 'blue',
'dir' => 'green',
'link' => 'blue',
),
)"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Options Default:
<code> array( 'verboseLevel' => 1, // Verbosity level 'autobreak' => 0, // Pos <int>. Break lines automatically after this ammount of chars 'useStyles' => true, // Whether to enable styles or not 'styles' => array( // Style alias definition {@link ezcConsoleOutput::outputText()} 'default' => '', // Default style. If blank, sys default 'error' => 'red', 'warning' => 'yellow', 'success' => 'green', 'file' => 'blue', 'dir' => 'green', 'link' => 'blue', ), );
</code>
@see ezcConsoleOutput::setOptions()
@see ezcConsoleOutput::getOptions()
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{2533A2BF-5CE1-4369-B243-0F1641634614}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="styles" changeable="none" visibility="private" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array(
'red' => "\033[1;31m",
'green' => "\033[1;32m",
'yellow' => "\033[1;33m",
'blue' => "\033[1;34m",
'magenta' => "\033[1;35m",
'cyan' => "\033[1;36m",
'white' => "\033[1;37m",
'gray' => "\033[1;30m",
'dark-red' => "\033[0;31m",
'dark-green' => "\033[0;32m",
'dark-yellow' => "\033[0;33m",
'dark-blue' => "\033[0;34m",
'dark-magenta' => "\033[0;35m",
'dark-cyan' => "\033[0;36m",
'dark-white' => "\033[0;37m",
'dark-gray' => "\033[0;30m",
'red-bg' => "\033[1;41m",
'green-bg' => "\033[1;42m",
'yellow-bg' => "\033[1;43m",
'blue-bg' => "\033[1;44m",
'magenta-bg' => "\033[1;45m",
'cyan-bg' => "\033[1;46m",
'white-bg' => "\033[1;47m",
'bold' => "\033[1;38m",
'italic' => "\033[0;39m",
'underline' => "\033[0;39m",
)"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Stores the hard coded styles available on the console.
@var array(string => string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{B0A8B63B-BF19-45f2-8901-CBEA9CA2D482}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Create a new console output handler.
@see ezcConsoleOutput::$options
@see ezcConsoleOutput::setOptions()
@see ezcConsoleOutput::getOptions()
@param array(string) $options Options."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{5EB221F1-7FE2-428d-B13B-468FC76062E3}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-7FE2-428d-B13B-468FC76062E3}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{BB692C63-8FFD-408a-B022-EF77A24C9F16}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="setOptions" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Set options.
@see ezcConsoleOutput::getOptions()
@see ezcConsoleOutput::$options
@param array(string) $options Options.
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{6B166EA3-A27B-4e1a-9947-9AF5CF0B0D37}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-A27B-4e1a-9947-9AF5CF0B0D37}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{55EDB7C4-9E55-42a0-B4CA-A4F70D27151C}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getOptions" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns options
@see ezcConsoleOutput::setOptions()
@see ezcConsoleOutput::$options
@return array(string) Options."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{0EB8E49F-C9C5-4890-8875-6B4F4E7250F6}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-C9C5-4890-8875-6B4F4E7250F6}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="outputText" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Print text to the console. Output a string to the console. If $style parameter is ommited, the default style is chosen. Style can either be a special style {@link eczConsoleOutput::$options}, a style name {@link ezcConsoleOutput$styles} or 'none' to print without any styling.
@param string $text The text to print.
@param string $style Style chosen for printing.
@param int $verboseLevel On which verbose level to output this message.
@param int Output this text only in a specific verbosity level"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{0F861241-401A-4c5c-AC0E-3104A64E949F}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-401A-4c5c-AC0E-3104A64E949F}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="text" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{975F5355-C2EB-4fc5-A494-A8DF6D326BD9}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="style" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{41472B93-AF86-4fe0-A3F3-0860B3A242BE}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="'default'"/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="verboseLevel" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{A806171C-5D65-4ca3-9298-3A95FC79ED1F}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="1 "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="styleText" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns a styled version of the text. Receive a styled version of the inputed text. If $style parameter is ommited, the default style is chosen. Style can either be a special style or a direct color name. {@link ezcConsoleOutput::$options}, a style name {@link ezcConsoleOutput::$styles} or 'none' to print without any styling.
@param string $text Text to apply style to.
@param string $style Style chosen to be applied.
@return string"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{2BC7FC3E-88AE-4cb8-99F8-872E0E6CCB9A}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-88AE-4cb8-99F8-872E0E6CCB9A}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="text" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{BEE56DE5-C4E6-42f9-981C-328F5CE4BA40}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="style" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{C32940AE-7E71-4e5d-B49A-0CB487D37932}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="'default' "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="storePos" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Store the current cursor position. Saves the current cursor position to return to it using {@link ezcConsoleOutput::restorePos()}. Multiple calls to this method will override each other. Only the last position is saved.
@todo Shall multiple markers be supported? Must be emulated by the class, since not directly supported by ANSI escape seqs.
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="5"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{D28A9B5A-586C-43d2-8EE7-62A375675E7D}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-586C-43d2-8EE7-62A375675E7D}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="restorePos" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Restore a cursor position. Restores the cursor position last saved using {@link ezcConsoleOutput::storePos()}.
@return void "/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="6"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{6892A18F-3BCE-47bb-8A78-DB990F609A87}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-3BCE-47bb-8A78-DB990F609A87}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Association xmi.id="EAID_8BBADE67_3C37_4c4a_8CD5_2911FACC538E" visibility="public" isRoot="false" isLeaf="false" isAbstract="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="3"/>
<UML:TaggedValue tag="ea_type" value="Aggregation"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="3"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
<UML:Association.connection>
<UML:AssociationEnd visibility="public" aggregation="none" isOrdered="false" isNavigable="false" type="EAID_65A37092_56CE_4e5a_8C30_366469BD8468">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
<UML:AssociationEnd visibility="public" aggregation="shared" isOrdered="false" isNavigable="true" type="EAID_A9F2232F_845A_4da2_A329_950ED3CDB676">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
</UML:Association.connection>
</UML:Association>
<UML:Association xmi.id="EAID_D761BD7E_7981_43a2_823C_48DC2173761C" visibility="public" isRoot="false" isLeaf="false" isAbstract="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="2"/>
<UML:TaggedValue tag="ea_type" value="Aggregation"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="2"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="privatedata5" value="SX=0;SY=0;EX=0;EY=0;EDGE=1;"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
<UML:Association.connection>
<UML:AssociationEnd visibility="public" aggregation="none" isOrdered="false" isNavigable="false" type="EAID_65A37092_56CE_4e5a_8C30_366469BD8468">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
<UML:AssociationEnd visibility="public" aggregation="shared" isOrdered="false" isNavigable="true" type="EAID_EE63FC0D_D590_4d0f_9F83_338683F8E000">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="containment" value="Unspecified"/>
</UML:ModelElement.taggedValue>
</UML:AssociationEnd>
</UML:Association.connection>
</UML:Association>
<UML:Dependency client="EAID_65A37092_56CE_4e5a_8C30_366469BD8468" supplier="EAID_4B7CE667_749A_4dde_BE45_7CBFB5519DF5" xmi.id="EAID_E53B0D49_9955_449f_974D_2D23DBDB2610" visibility="public">
<UML:ModelElement.stereotype>
<UML:Stereotype name="throws"/>
</UML:ModelElement.stereotype>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="2"/>
<UML:TaggedValue tag="ea_type" value="Dependency"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="2"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="stereotype" value="throws"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="conditional" value="�throws�"/>
<UML:TaggedValue tag="src_visibility" value="Public"/>
<UML:TaggedValue tag="src_aggregation" value="0"/>
<UML:TaggedValue tag="src_isOrdered" value="false"/>
<UML:TaggedValue tag="src_isNavigable" value="false"/>
<UML:TaggedValue tag="src_containment" value="Unspecified"/>
<UML:TaggedValue tag="dst_visibility" value="Public"/>
<UML:TaggedValue tag="dst_aggregation" value="0"/>
<UML:TaggedValue tag="dst_isOrdered" value="false"/>
<UML:TaggedValue tag="dst_isNavigable" value="true"/>
<UML:TaggedValue tag="dst_containment" value="Unspecified"/>
<UML:TaggedValue tag="privatedata5" value="SX=0;SY=0;EX=0;EY=0;EDGE=1;"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
<UML:TaggedValue tag="mb" value="�throws�"/>
</UML:ModelElement.taggedValue>
</UML:Dependency>
<UML:Comment xmi.id="EAID_7FBF19CD_D452_4a01_BF36_6591CF96D1D2" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Text"/>
<UML:TaggedValue tag="ea_ntype" value="18"/>
<UML:TaggedValue tag="version" value="1.0"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-19 11:59:22"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:59:22"/>
<UML:TaggedValue tag="gentype" value="<none>"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:Comment>
<UML:Class name="ezcConsoleParameter" xmi.id="EAID_A51EEA3E_1E35_4947_AFF6_4F0ED6B44ADC" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Class for handling console parameters. This class allows the complete handling of parameters submitted to a console based application.
<code> $paramHandler = new ezcConsoleParameter(); $help = array( 'short' => 'Get help output.', 'long' => 'Retreive help on the usage of this command.', ); $paramHandler->registerParam('h', 'help', $help); $file = array( 'type' => ezcConsoleParameter::TYPE_STRING 'short' => 'Process a file.', 'long' => 'Processes a single file.', 'excludes' => array('d'), ) $paramHandler->registerParam('f', 'file', $file); $dir = array( 'type' => ezcConsoleParameter::TYPE_STRING 'short' => 'Process a directory.', 'long' => 'Processes a complete directory.', 'excludes' => array('f'), ) $paramHandler->registerParam('d', 'dir', $dir); $paramHandler->registerAlias('d', 'directory', 'd'); try { $paramHandler->processParams(); } catch (ezcConsoleParameterException $e) { if ($e->code === ezcConsoleParameterException::CODE_DEPENDENCY) { $consoleOut->outputText( 'Parameter '.$e->paramName." may not occur here.\n", 'error' ); } exit(1); }
</code>
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:36"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:59:18"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\parameter.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=c4ad;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="TYPE_NONE" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="1"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{D5D8FF80-8D6C-44c4-AD27-F0E0CB9B5BD9}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="TYPE_INT" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="2"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{28F89EB9-A499-4648-90DC-3E8DCF434FB1}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="TYPE_STRING" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="3"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{3F952DBF-89CE-42c6-92F8-40C2CD29F196}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="paramDefs" changeable="none" visibility="private" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array()"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{ABF6E2F3-BAF9-4475-993E-33F590591D7A}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="paramValues" changeable="none" visibility="private" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array()"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{8F8762C2-810F-4d79-A1BD-F849872FEFE3}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Create parameter handler"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{D4FC7B05-E3A7-4407-BA0D-7201BD7D247B}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-E3A7-4407-BA0D-7201BD7D247B}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="registerParam" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Register a new parameter. Register a new parameter to be recognized by the parser. The short option is a single character, the long option can be any string containing [a-z-]+. Via the options array several options can be defined for a parameter:
<code> array( 'type' => TYPE_NONE, // option does not expect a value by default, use TYPE_* constants 'default' => null, // no default value by default 'multiple' => false, // are multiple values expected? 'short' => '', // no short description by default 'long' => '', // no help text by default 'depends' => array(), // no depending options by default 'excludes' => array(), // no excluded options by default 'arguments' => true, // are arguments allowed? );
</code> Attention: Already existing parameter will be overwriten! If an already existing alias is attempted to be registered, the alias will be deleted and replaced by the new parameter. Parameter shortcuts may only contain one character and will be used in an application call using "-x <value>". Long parameter versions will be used like "--long-parameter=<value>". A parameter can have no value (TYPE_NONE), an integer/string value (TYPE_INT/TYPE_STRING) or multiple of those ('muliple' => true). A parameter can also include a rule that disallows arguments, when it's used. Per default arguments are allowed and can be retrieved using the {ezcConsoleParameter::getArguments()} method.
@see ezcConsoleParameter::unregisterParam()
@param string $short Short parameter
@param string $long Long version of parameter
@param array(string) $options See description
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{4E5D9391-82C1-491b-8220-A30F1771C9AD}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-82C1-491b-8220-A30F1771C9AD}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{E7A0DD89-4134-4045-810F-CBA1DF7195A7}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="long" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{C77D434A-96A7-415f-9746-D0DCF5E9CC4A}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{74478E3D-49A7-4fb4-AD19-19A211A42A39}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="registerAlias" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Register an alias to a parameter. Registers a new alias for an existing parameter. Aliases may then be used as if they were real parameters.
@see ezcConsoleParameter::unregisterAlias()
@param string $short Shortcut of the alias
@param string $long Long version of the alias
@param strung $refShort Reference to an existing param (short)
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{7B98693A-A103-4d8b-AADF-A22492FA9A8C}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-A103-4d8b-AADF-A22492FA9A8C}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{164FCFA0-C49D-4256-8A55-2AC2A263BDEC}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="long" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{E48733E4-DA93-473f-A01D-78750A591EB3}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="refShort" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{CED82ED9-00BD-472d-9007-9F91CC856526}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="unregisterParam" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Remove a parameter to be no more supported. Using this function you will remove a parameter. Depending on the second option dependencies to this parameter are handled. Per default, just all dependencies to that actual parameter are removed (false value). Setting it to true will completely unregister all parameters that depend on the current one.
@see ezcConsoleParameter::registerParam()
@param string $short Short option name for the parameter to be removed.
@param bool $deps Handling of dependencies while unregistering.
@return void
@link ezcConsoleParameterException::CODE_EXISTANCE}."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{8136EE82-D67D-4bfd-91F1-E02566F8A818}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-D67D-4bfd-91F1-E02566F8A818}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{AD1A6E5D-57D3-43dc-8E4E-D456DECC0FC2}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="deps" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{A91EE54C-9830-41e7-8DCF-D1C859C4A1E3}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="false "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="unregisterAlias" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Remove an alias to be no more supported. Unregisteres an existing alias.
@see ezcConsoleParameter::registerAlias()
@param string $short Short option name for the parameter to be removed.
@return void
@link ezcConsoleParameterException::CODE_EXISTANCE}."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{8B23DBB5-0766-4ac9-8542-032AC549652D}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-0766-4ac9-8542-032AC549652D}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{4BDC2167-2BE3-4f48-890A-96BDB4B55643}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="fromString" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Registeres parameters according to a string specification. Accepts a string like used in eZ publis 3.x to define parameters and registeres all parameters accordingly. String definitions look like this:
<code> [s:|size:][u:|user:][a:|all:]
</code> This string will result in 3 parameters: -s / --size -u / --user -a / --all
@param string $paramDef Parameter definition string."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="5"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{5348AAEE-E3F2-4c9b-B9FE-2B1050E93D44}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-E3F2-4c9b-B9FE-2B1050E93D44}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="paramDef" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{3485F06D-23DA-4664-9921-45343D320684}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="process" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Process the input parameters. Actually process the input parameters according to the actual settings. Per default this method uses $argc and $argv for processing. You can override this setting with your own input, if necessary, using the parameters of this method. (Attention, first argument is always the pro gram name itself!) All exceptions thrown by this method contain an additional attribute "param" which specifies the parameter on which the error occured.
@param array(int -> string) $args The arguments
@link ezcConsoleParameterException::CODE_DEPENDENCY}.
@link ezcConsoleParameterException::CODE_EXCLUSION}.
@link ezcConsoleParameterException::CODE_TYPE}.
@see ezcConsoleParameterException"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="6"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{D5BE7041-F87E-4bee-9B1F-C75291978BC5}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-F87E-4bee-9B1F-C75291978BC5}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="args" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{7632E404-565A-4001-8CAA-EC25E1FA6EB2}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="null "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getParam" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Receive the data for a specific parameter. Returns the data sumbitted for a specific parameter.
@param string $short The parameter shortcut
@return mixed String value of the parameter, true if set without value or false on not set."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="7"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{F2658D07-C9FB-475f-9A79-ED7211E8BBC0}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-C9FB-475f-9A79-ED7211E8BBC0}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{E12581BF-6AE3-497f-A787-7EFD7C32C0AB}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getArguments" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns arguments provided to the program. This method returns all arguments provided to a program in an integer indexed array. Arguments are sorted in the way they are submitted to the program. You can disable arguments through the 'arguments' flag of a parameter, if you want to disallow arguments. Arguments are either the last part of the program call (if the last parameter is not a 'multiple' one) or divided via the '--' method which is commonly used on Unix (if the last parameter accepts multiple values this is required).
@return array(int => string) Arguments."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="8"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{56CDC70A-D8A8-465a-937B-DC4ED0B8A7BA}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-D8A8-465a-937B-DC4ED0B8A7BA}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getHelp" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns array of help info on parameters. If given a parameter shortcut, returns an array of several help information:
<code> array( 'short' => <string>, 'long' => <string>, 'usage' => <string>, // Autogenerated from the rules for the parameter 'alias' => <string>, // Info on the aliases of a parameter );
</code> If no parameter shortcut given, returns an array of above described arrays with a key for every parameter shortcut defined.
@param string $short Short cut value of the parameter.
@return array(string) See description.
@link ezcConsoleParameterException::CODE_EXISTANCE}."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="9"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{3375BF23-9AEF-42cd-907F-14FDF5CD7ECA}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-9AEF-42cd-907F-14FDF5CD7ECA}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{2835C2F3-898D-4063-94FC-1EA7A8AF9589}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="null "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getHelpText" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns string of help info on parameters. If given a parameter shortcut, returns a string of help information:
<code> Usage: -<short> / --<long>= <type> <usageinfo>
<shortdesc>
<longdesc>
<dependencies> / <exclusions>
</code> If not given a parameter shortcut, returns a string of global help information:
<code> Usage: [-<short>] [-<short>] ... -<short> / --<long> <type> <default> <shortdesc> ...
</code>
@param string $short Shortcut of the parameter to get help text for.
@return string See description.
@link ezcConsoleParameterException::CODE_EXISTANCE}."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="10"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{E66F0967-79A7-47a6-ADF3-079AAC380175}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-79A7-47a6-ADF3-079AAC380175}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="short" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{21F7BD1F-E7B3-4087-8C4C-60B766E57DB4}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="null "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Dependency client="EAID_A51EEA3E_1E35_4947_AFF6_4F0ED6B44ADC" supplier="EAID_C6C700C8_814F_49fc_9B9C_1123BB0B4815" xmi.id="EAID_F959A77C_CEDF_4555_A103_9EADB2730D13" visibility="public">
<UML:ModelElement.stereotype>
<UML:Stereotype name="throws"/>
</UML:ModelElement.stereotype>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="2"/>
<UML:TaggedValue tag="ea_type" value="Dependency"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="2"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="stereotype" value="throws"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="conditional" value="�throws�"/>
<UML:TaggedValue tag="src_visibility" value="Public"/>
<UML:TaggedValue tag="src_aggregation" value="0"/>
<UML:TaggedValue tag="src_isOrdered" value="false"/>
<UML:TaggedValue tag="src_isNavigable" value="false"/>
<UML:TaggedValue tag="src_containment" value="Unspecified"/>
<UML:TaggedValue tag="dst_visibility" value="Public"/>
<UML:TaggedValue tag="dst_aggregation" value="0"/>
<UML:TaggedValue tag="dst_isOrdered" value="false"/>
<UML:TaggedValue tag="dst_isNavigable" value="true"/>
<UML:TaggedValue tag="dst_containment" value="Unspecified"/>
<UML:TaggedValue tag="privatedata5" value="SX=0;SY=0;EX=0;EY=0;EDGE=1;"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
<UML:TaggedValue tag="mb" value="�throws�"/>
</UML:ModelElement.taggedValue>
</UML:Dependency>
<UML:Class name="ezcConsoleTable" xmi.id="EAID_A9F2232F_845A_4da2_A329_950ED3CDB676" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creating tables to be printed to the console.
<code> ... creating ezcConsoleOutput object $options = array( 'lineColorHead' => 'red', // Make header rows surrounded by red lines ); $table = new ezcConsoleTable($out, array('width' => 60, 'cols' = 3), $options); Generate a header row: $table->addRowHead(array('First col', 'Second col', 'Third col')); Right column will be the largest $table->addRow(array('Data', 'Data', 'Very very very very very long data')); $table->output();
</code>
@see ezcConsoleOutput
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:36"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:42:35"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\table.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=7154;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="WRAP_AUTO" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="1"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Automatically wrap text to fit into a column.
@see ezcConsoleTable::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{0A51B2F7-3155-483c-A77F-CBAD7E46755C}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="WRAP_NONE" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="2"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Do not wrap text. Columns will be extended to fit the largest text. ATTENTION: This is riscy!
@see ezcConsoleTable::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{F2C5B9CA-43B7-4586-8854-7E9333D246E5}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="WRAP_CUT" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="3"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Text will be cut to fit into a column.
@see ezcConsoleTable::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{2F9D32F3-EFCD-4003-BB1E-294C6411C738}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="settings" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Settings for the table.
<code> array( 'width' => <int>, // Width of the table 'cols' => <int>, // Number of columns );
</code>
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{76030D04-2AD9-406d-B80E-BFD3249F77C2}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="options" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array(
'colWidth' => 'auto', // Automatically define column width. Else array of width
// per column like array( 0 => 10, 1 => 15, 2 => 5,...);
'colWrap' => WRAP_AUTO,
'lineTop' => '-',
'lineBottom' => '-',
'lineLeft' => '|',
'lineRight' => '|',
'cornerTopLeft' => '+',
'cornerBottomLeft' => '+',
'cornerTopRight' => '+',
'cornerBottomRight' => '+',
'lineColor' => 'default',
'lineColorHead' => 'default',
)"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Options for the table.
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{86623909-E3BE-42e2-9592-C246FCA6B2E0}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="outputHandler" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="The ezcConsoleOutput object to use.
@var ezcConsoleOutput"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="5"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{5DEF0E6B-4A38-4bc6-B053-6C114AE6EC99}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creates a new table.
@param ezcConsoleOutput $outHandler Output handler to utilize
@param array(string) $settings Settings
@param array(string) $options Options
@see ezcConsoleTable::$settings
@see ezcConsoleTable::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{0FAA4542-2113-4eb5-8BB0-F021ABAFE110}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-2113-4eb5-8BB0-F021ABAFE110}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="outHandler" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="classifier" value="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
<UML:TaggedValue tag="ea_guid" value="{F8D81FCD-DA4E-4f98-9A86-FF9C68B7AD37}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="settings" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{7145A29B-B5D3-4bf4-93FB-00406EFA5604}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{1C4C87DC-B684-43de-B069-E72D7A2EBFFA}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="create" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Create an entire table. Creates an entire table from an array of data.
<code> array( 0 => array( 0 => <string>, 1 => <string>, 2 => <string>,... ), 1 => array( 0 => <string>, 1 => <string>, 2 => <string>,... ), 2 => array( 0 => <string>, 1 => <string>, 2 => <string>,... ), ... );
</code>
@see ezcConsoleTable::__construct()
@see ezcConsoleTable::$settings
@see ezcConsoleTable::$options
@param array(int -> string) $data Data for the table
@param ezcConsoleOutput $outHandler Output handler to utilize
@param array(string) $settings Settings
@param array(string) $options Options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="static" value="1"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{4B1BEFAA-1776-4886-874E-A2D27EB4DE58}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-1776-4886-874E-A2D27EB4DE58}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="data" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{251C8593-3B19-4008-9737-C38D262CD29E}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="outHandler" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="classifier" value="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
<UML:TaggedValue tag="ea_guid" value="{5D5A3932-3AB7-44fa-AA30-715F904FDE90}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="settings" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{B21906E2-A976-45b0-96F8-E38B83092EED}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="3"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{3C37112F-2CB2-4742-AEDE-C9D9EF42655A}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="addRow" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Add a row of data to the table. Add a row of data to the table. A row looks like this:
<code> array( 0 => <string>, 1 => <string>,... );
</code> The options parameter overrides the globally set options.
@param array(int => string) $rowData The data for the row
@param array(string) $options Override {@link eczConsoleTable::$options}
@return int Number of the row."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{D1FD2110-460D-4e2e-BEBF-9B635BBE64CF}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-460D-4e2e-BEBF-9B635BBE64CF}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="rowData" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{1A102984-09C4-4b64-9937-5874500BA97A}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{817380E2-F1B4-4cd6-966A-B554880456EB}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="addHeadRow" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Add a header row to the table. Add a header row to the table. Format {@link ezcConsoleTable::addRow()}. The options parameter overrides the globally set options.
@param array(int => string) $rowData The row data
@param array(string) $options Override {@link eczConsoleTable::$options}
@return int Number of the row."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{4191F84C-57D0-4efb-987F-390AC8CDB51E}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-57D0-4efb-987F-390AC8CDB51E}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="rowData" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{E5DDE536-85FC-4d85-BA57-E96ABD582AB4}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{D71BA1BF-7EDD-4083-83FE-EEF03380B706}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="setCell" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Set data for specific cell. Sets the data for a specific cell. If the row referenced does not exist yet, it's created with empty values. If previous rows do not exist, they are created with empty values. Existing cell data is overwriten.
@param int $row Row number.
@param int $column Column number.
@param string $cellData Data for the cell."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{7B0762B7-35D9-431a-BE70-5C62D5F82098}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-35D9-431a-BE70-5C62D5F82098}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="row" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{21C16A8B-D5CE-48d9-85AD-EAEFAEC0B6CB}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="column" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{C02E910F-C8D8-4aac-AA2C-05961B6C3438}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="cellData" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{10D31C1D-2079-4d76-9E16-B4706E1687FA}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="makeHeadRow" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Make a row to a header row. Defines the row with the specified number to be a header row.
@param int $row Number of the row to affect.
@see eczConsoleTable::setDefaultRow()"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="5"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{361A1769-7311-461d-9AEC-A52D748E0D5D}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-7311-461d-9AEC-A52D748E0D5D}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="row" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{3EF5282D-89D7-4c18-B147-99E2ADA02740}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="makeDefaultRow" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Make a row to a default row. Defines the row with the specified number to be a default row. (Used to bring header rows back to normal.)
@param int $row Number of the row to affect.
@see eczConsoleTable::setHeadRow()"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="6"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{786429A3-71B7-49a7-ADFB-68D3FADC61D4}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-71B7-49a7-ADFB-68D3FADC61D4}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="row" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{93466362-883D-4c69-A351-78B7C02F14E7}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="getTable" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Returns the table in a string. Returns the entire table as a string.
@return string"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="7"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{C7B4159C-0EBB-4626-B678-B213CAB8A270}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-0EBB-4626-B678-B213CAB8A270}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="outputTable" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Output the table. Prints the complete table to the console.
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="8"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{BF438275-C703-40a7-975E-3FD09369025D}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-C703-40a7-975E-3FD09369025D}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Class name="ezcConsoleProgressbar" xmi.id="EAID_EE63FC0D_D590_4d0f_9F83_338683F8E000" visibility="public" namespace="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creating and maintaining progressbars to be printed to the console.
@todo The author of the PEAR package "Console_ProgressBar" accepted us to take over his code from that package and improve it for our needs. {@link http://pear.php.net/package/console_progressbar}
<code> ... creating ezcConsoleOutput object $set = array('max' => 150, 'step' => 5); $opt = array( 'emptyChar' => '-', 'progressChar' => '#', 'formatString' => 'Uploading file '.$myFilename.' %act%/%max% kb [%bar%] %percent%%', ); $progress = new ezcConsoleProgressbar($out, $set, $opt); while( $file->upload() ) { $progress->advance(); } $progress->finish(); $out->outputText("Successfully uploaded $myFilename.\n", 'success');
</code>
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:35"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:42:35"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\progressbar.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="console"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=e6a3;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="settings" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Settings for the progress bar.
<code> array( 'max' => <int> // Value to progress to 'step' => <int> // Stepwidth );
</code>
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{30C94C5C-E267-49fd-8491-19E7840E30FE}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="options" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="array(
'barChar' => '+', // Char to fill progress bar with
'emptyChar' => ' ', // Char to fill empty space in progress bar with
'progressChar' => '>', // Right most char of the progress bar filling
'formatString' => '[%bar%] %percent% %', // Format string
'width' => 100, // Maximum width of the progressbar
)"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Options
<code> array( 'barChar' => '+', // Char to fill progress bar with 'emptyChar' => ' ', // Char for empty space in progress bar 'progressChar' => '>', // Progress char of the bar filling 'formatString' => '[%bar%] %percent%%', // == "[+++++> ] 60%" 'width' => 10, // Maximum width of the progressbar );
</code> 'formatString' can contain the following placeholders: '%percent%' => Actual percent value '%max%' => Maximum value '%act%' => Actual value '%bar%' => The actual progressbar
@var array(string)"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{59522000-4D0E-4579-B25A-CBFCCB2A1B25}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="outputHandler" changeable="none" visibility="protected" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="The ezcConsoleOutput object to use.
@var ezcConsoleOutput"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{38166CA5-115F-4705-A391-4B122E210FED}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Creates a new progress bar.
@param ezcConsoleOutput $outHandler Handler to utilize for output
@param array(string) $settings Settings
@param array(string) $options Options
@see ezcConsoleTable::$settings
@see ezcConsoleTable::$options"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{025207AC-75F2-44ba-A143-ABDFD4688F5E}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-75F2-44ba-A143-ABDFD4688F5E}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="outHandler" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="ezcConsoleOutput"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="classifier" value="EAID_65A37092_56CE_4e5a_8C30_366469BD8468"/>
<UML:TaggedValue tag="ea_guid" value="{C82DE637-5B3C-439f-B9C5-348CB3BD2CB5}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="settings" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{92DDFC0F-A1B8-4511-B369-99A6DCB9E3B0}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="options" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{453DB7BB-CEA5-4f96-A0F5-F2CB80C3DC34}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="array() "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="start" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Start the progress bar Starts the progess bar and sticks it to the current line. No output will be done yet. Call {@link ezcConsoleProgressbar::output()} to print the bar.
@return void"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{A1F4087D-6D9E-40dc-BC9B-03AA07E43B13}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-6D9E-40dc-BC9B-03AA07E43B13}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="output" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Draw the progress bar. Prints the progressbar to the screen. If start() has not been called yet, the current line is used for {@link ezcConsolProgressbar::start()}."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{CDE2D0A5-705A-4ee3-8A73-BA1FC8FC287C}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-705A-4ee3-8A73-BA1FC8FC287C}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="advance" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Advance the progress bar. Advances the progress bar by one step. Redraws the bar by default, using the {@link ezcConsoleProgressbar::output()} method.
@param bool Whether to redraw the bar immediatelly."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{B5F4C6F1-1E03-4b51-8D29-FF055E2DBB4C}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-1E03-4b51-8D29-FF055E2DBB4C}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="redraw" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{C3DC4346-3E0A-4535-BF94-C15030FDA033}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression body="true "/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
<UML:Operation name="finish" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Finish the progress bar. Finishes the bar (jump to 100% if not happened yet,...) and jumps to the next line to allow new output. Also resets the values of the output handler used, if changed."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{AE268367-D849-4990-8415-A31BCD928C6C}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-D849-4990-8415-A31BCD928C6C}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Package name="output" xmi.id="EAPK_4D026C21_9F61_4699_BBE9_ED9516605496" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="created" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="modified" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="iscontrolled" value="FALSE"/>
<UML:TaggedValue tag="lastloaddate" value="2005-08-18 14:20:19"/>
<UML:TaggedValue tag="lastsavedate" value="2005-08-18 14:20:19"/>
<UML:TaggedValue tag="isprotected" value="FALSE"/>
<UML:TaggedValue tag="usedtd" value="FALSE"/>
<UML:TaggedValue tag="logxml" value="FALSE"/>
<UML:TaggedValue tag="codepath" value="E:\src\ezcomponents\ConsoleTools\console\output"/>
<UML:TaggedValue tag="batchsave" value="0"/>
<UML:TaggedValue tag="batchload" value="0"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="ea_stype" value="Public"/>
</UML:ModelElement.taggedValue>
<UML:Namespace.ownedElement>
<UML:Class name="ezcConsoleOutputException" xmi.id="EAID_4B7CE667_749A_4dde_BE45_7CBFB5519DF5" visibility="public" namespace="EAPK_4D026C21_9F61_4699_BBE9_ED9516605496" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="General exception for use in {@see ezcConsoleOutput} class.
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}
@todo Error codes to be defined."/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_4D026C21_9F61_4699_BBE9_ED9516605496"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:42:36"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\output\exception.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="output"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=f7da;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
</UML:Class>
<UML:Generalization subtype="EAID_4B7CE667_749A_4dde_BE45_7CBFB5519DF5" supertype="EAID_94807F39_6924_4b6f_BABD_B861BF17BDEE" xmi.id="EAID_DAC016F2_428C_4cba_88D3_77BFF3833AA6" visibility="public">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="3"/>
<UML:TaggedValue tag="ea_type" value="Generalization"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="3"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="src_visibility" value="Public"/>
<UML:TaggedValue tag="src_aggregation" value="0"/>
<UML:TaggedValue tag="src_isOrdered" value="false"/>
<UML:TaggedValue tag="src_isNavigable" value="false"/>
<UML:TaggedValue tag="src_containment" value="Unspecified"/>
<UML:TaggedValue tag="dst_visibility" value="Public"/>
<UML:TaggedValue tag="dst_aggregation" value="0"/>
<UML:TaggedValue tag="dst_isOrdered" value="false"/>
<UML:TaggedValue tag="dst_isNavigable" value="true"/>
<UML:TaggedValue tag="dst_containment" value="Unspecified"/>
<UML:TaggedValue tag="$ea_xref_property" value="$XREFPROP=$XID={1E9DFB38-D0E8-4d88-900A-3C771B1DF560}$XID;$NAM=CustomProperties$NAM;$TYP=connector property$TYP;$VIS=Public$VIS;$DES=@PROP=@NAME=isSubstitutable@ENDNAME;@TYPE=boolean@ENDTYPE;@VALU=@ENDVALU;@PRMT=@ENDPRMT;@ENDPROP;$DES;$CLT={DAC016F2-428C-4cba-88D3-77BFF3833AA6}$CLT;$SUP=<none>$SUP;$ENDXREF;"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
</UML:Generalization>
</UML:Namespace.ownedElement>
</UML:Package>
<UML:Package name="parameter" xmi.id="EAPK_4C33B478_0B96_4ef1_B7E8_0F64B60CC675" isRoot="false" isLeaf="false" isAbstract="false" visibility="public">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="created" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="modified" value="2005-08-12 00:00:00"/>
<UML:TaggedValue tag="iscontrolled" value="FALSE"/>
<UML:TaggedValue tag="lastloaddate" value="2005-08-18 14:20:19"/>
<UML:TaggedValue tag="lastsavedate" value="2005-08-18 14:20:19"/>
<UML:TaggedValue tag="isprotected" value="FALSE"/>
<UML:TaggedValue tag="usedtd" value="FALSE"/>
<UML:TaggedValue tag="logxml" value="FALSE"/>
<UML:TaggedValue tag="codepath" value="E:\src\ezcomponents\ConsoleTools\console\parameter"/>
<UML:TaggedValue tag="batchsave" value="0"/>
<UML:TaggedValue tag="batchload" value="0"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="ea_stype" value="Public"/>
</UML:ModelElement.taggedValue>
<UML:Namespace.ownedElement>
<UML:Class name="ezcConsoleParameterException" xmi.id="EAID_C6C700C8_814F_49fc_9B9C_1123BB0B4815" visibility="public" namespace="EAPK_4C33B478_0B96_4ef1_B7E8_0F64B60CC675" isRoot="false" isLeaf="false" isAbstract="false" isActive="false">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="General exception for use in {@see ezcConsoleParameter} class. Adds an additional field 'param' to the exception which indicates with which parameter something went wrong.
@package ConsoleTools
@link http://www.gnu.org/copyleft/lesser.html}"/>
<UML:TaggedValue tag="isSpecification" value="false"/>
<UML:TaggedValue tag="ea_stype" value="Class"/>
<UML:TaggedValue tag="ea_ntype" value="0"/>
<UML:TaggedValue tag="version" value="//autogen//
@copyright Copyright (C) 2005 eZ syst"/>
<UML:TaggedValue tag="package" value="EAPK_4C33B478_0B96_4ef1_B7E8_0F64B60CC675"/>
<UML:TaggedValue tag="date_created" value="2005-08-12 09:19:35"/>
<UML:TaggedValue tag="date_modified" value="2005-08-19 11:42:36"/>
<UML:TaggedValue tag="genfile" value="E:\src\ezcomponents\packages\ConsoleTools\trunk\src\console\parameter\exception.php"/>
<UML:TaggedValue tag="gentype" value="PHP"/>
<UML:TaggedValue tag="tagged" value="0"/>
<UML:TaggedValue tag="package_name" value="parameter"/>
<UML:TaggedValue tag="phase" value="1.0"/>
<UML:TaggedValue tag="author" value="Jan Borsodi"/>
<UML:TaggedValue tag="complexity" value="1"/>
<UML:TaggedValue tag="status" value="Proposed"/>
<UML:TaggedValue tag="eventflags" value="LNK=c4ad;"/>
<UML:TaggedValue tag="style" value="BackColor=-1;BorderColor=-1;BorderWidth=-1;FontColor=-1;VSwimLanes=0;HSwimLanes=0;BorderStyle=0;"/>
</UML:ModelElement.taggedValue>
<UML:Classifier.feature>
<UML:Attribute name="CODE_EXISTANCE" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="1"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Required parameter/alias does not exist."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{789D7420-324A-40a7-A24D-329181F3DD7E}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="CODE_EXCLUSION" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="2"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Exclusion rule defined for parameter not met."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="1"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{599F1D6D-F553-4e22-94CE-CADDE6D393C7}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="CODE_DEPENDENCY" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="3"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Dependency rule defined for parameter not met."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="2"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{DFEB09B3-C95A-414e-ABDA-73ED66C4DCC2}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="CODE_TYPE" changeable="frozen" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression body="4"/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Type rule defined for parameter not met."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="3"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{D6FC51B1-396D-43b4-865B-B5C2267BB6E1}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Attribute name="paramName" changeable="none" visibility="public" ownerScope="instance" targetScope="instance">
<UML:Attribute.initialValue>
<UML:Expression/>
</UML:Attribute.initialValue>
<UML:StructuralFeature.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:StructuralFeature.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="description" value="Parameter this exception is about. Shortcut name of the parameter this exception deals with.
@see ezcConsoleParameter::registerParam()
@var string"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="length" value="0"/>
<UML:TaggedValue tag="ordered" value="0"/>
<UML:TaggedValue tag="precision" value="0"/>
<UML:TaggedValue tag="scale" value="0"/>
<UML:TaggedValue tag="collection" value="false"/>
<UML:TaggedValue tag="position" value="4"/>
<UML:TaggedValue tag="lowerBound" value="1"/>
<UML:TaggedValue tag="upperBound" value="1"/>
<UML:TaggedValue tag="ea_guid" value="{4E581A47-1F48-4a22-9472-D45D0EFA25C5}"/>
<UML:TaggedValue tag="styleex" value="volatile=0;"/>
</UML:ModelElement.taggedValue>
</UML:Attribute>
<UML:Operation name="__construct" visibility="public" ownerScope="instance" isQuery="false" concurrency="sequential">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="Constructor The constructor additionally needs a parameter name, which is the shortcut name of the affected parameter. For error codes, see class constants!
@param string string $message Error message.
@param string string $paramName Name of affected parameter
@param int $code Error code."/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="false"/>
<UML:TaggedValue tag="synchronised" value="0"/>
<UML:TaggedValue tag="concurrency" value="Sequential"/>
<UML:TaggedValue tag="position" value="0"/>
<UML:TaggedValue tag="returnarray" value="0"/>
<UML:TaggedValue tag="pure" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{DD73908D-0535-44c5-B522-C7B2D935E944}"/>
</UML:ModelElement.taggedValue>
<UML:BehavioralFeature.parameter>
<UML:Parameter kind="return" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{RETURNID-0535-44c5-B522-C7B2D935E944}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="message" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="0"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{50BCB8F2-12C3-430e-8B7C-7D9FB7A88687}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="paramName" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="1"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{9531843D-EB54-4eac-83F8-99156A608015}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
<UML:Parameter name="code" kind="in" visibility="public">
<UML:Parameter.type>
<UML:Classifier xmi.idref="eaxmiid0"/>
</UML:Parameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="pos" value="2"/>
<UML:TaggedValue tag="type" value="var"/>
<UML:TaggedValue tag="const" value="0"/>
<UML:TaggedValue tag="ea_guid" value="{30E6409F-F5EE-4156-8ACA-CBA8669F75B1}"/>
</UML:ModelElement.taggedValue>
<UML:Parameter.defaultValue>
<UML:Expression/>
</UML:Parameter.defaultValue>
</UML:Parameter>
</UML:BehavioralFeature.parameter>
</UML:Operation>
</UML:Classifier.feature>
</UML:Class>
<UML:Generalization subtype="EAID_C6C700C8_814F_49fc_9B9C_1123BB0B4815" supertype="EAID_94807F39_6924_4b6f_BABD_B861BF17BDEE" xmi.id="EAID_67DABE02_3EDE_4e4d_817C_E05BBF11BD21" visibility="public">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="style" value="3"/>
<UML:TaggedValue tag="ea_type" value="Generalization"/>
<UML:TaggedValue tag="direction" value="Source -> Destination"/>
<UML:TaggedValue tag="linemode" value="3"/>
<UML:TaggedValue tag="linecolor" value="-1"/>
<UML:TaggedValue tag="linewidth" value="0"/>
<UML:TaggedValue tag="seqno" value="0"/>
<UML:TaggedValue tag="headStyle" value="0"/>
<UML:TaggedValue tag="lineStyle" value="0"/>
<UML:TaggedValue tag="src_visibility" value="Public"/>
<UML:TaggedValue tag="src_aggregation" value="0"/>
<UML:TaggedValue tag="src_isOrdered" value="false"/>
<UML:TaggedValue tag="src_isNavigable" value="false"/>
<UML:TaggedValue tag="src_containment" value="Unspecified"/>
<UML:TaggedValue tag="dst_visibility" value="Public"/>
<UML:TaggedValue tag="dst_aggregation" value="0"/>
<UML:TaggedValue tag="dst_isOrdered" value="false"/>
<UML:TaggedValue tag="dst_isNavigable" value="true"/>
<UML:TaggedValue tag="dst_containment" value="Unspecified"/>
<UML:TaggedValue tag="$ea_xref_property" value="$XREFPROP=$XID={4CD1C944-C639-4ffd-B050-6D6267E6B354}$XID;$NAM=CustomProperties$NAM;$TYP=connector property$TYP;$VIS=Public$VIS;$DES=@PROP=@NAME=isSubstitutable@ENDNAME;@TYPE=boolean@ENDTYPE;@VALU=@ENDVALU;@PRMT=@ENDPRMT;@ENDPROP;$DES;$CLT={67DABE02-3EDE-4e4d-817C-E05BBF11BD21}$CLT;$SUP=<none>$SUP;$ENDXREF;"/>
<UML:TaggedValue tag="virtualInheritance" value="0"/>
</UML:ModelElement.taggedValue>
</UML:Generalization>
</UML:Namespace.ownedElement>
</UML:Package>
</UML:Namespace.ownedElement>
</UML:Package>
</UML:Namespace.ownedElement>
</UML:Package>
<UML:Stereotype xmi.id="EAID_1D64E7C3_A572_4044_9F13_82E10C926C05" name="ezcomponent" isRoot="false" isLeaf="false" isAbstract="false">
<UML:Stereotype.baseClass>Package</UML:Stereotype.baseClass>
</UML:Stereotype>
<UML:DataType xmi.id="eaxmiid0" name="var" visibility="private" isRoot="false" isLeaf="false" isAbstract="false"/>
</UML:Namespace.ownedElement>
</UML:Model>
<UML:Diagram name="Console output" xmi.id="EAID_BECDD893_B0AC_4cb4_B9FC_E9BA9A6AB33D" diagramType="ClassDiagram" owner="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" toolName="Enterprise Architect 2.5">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="version" value="0.1"/>
<UML:TaggedValue tag="author" value="Tobias Schlitt"/>
<UML:TaggedValue tag="created_date" value="2005-08-12 09:19:34"/>
<UML:TaggedValue tag="modified_date" value="2005-08-19 11:59:58"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="type" value="Logical"/>
<UML:TaggedValue tag="swimlanes" value="locked=false;orientation=0;width=0;inbar=false;names=false;color=0;bold=false;fcol=0;;cls=0;"/>
<UML:TaggedValue tag="EAStyle" value="ShowPrivate=1;ShowProtected=1;ShowPublic=1;HideRelationships=0;Locked=0;Border=1;HighlightForeign=1;PackageContents=1;SequenceNotes=0;ScalePrintImage=0;PPgs.cx=1;PPgs.cy=1;DocSize.cx=1118;DocSize.cy=783;ShowDetails=0;Orientation=L;Zoom=100;ShowTags=0;OpParams=3;ShowIcons=1;CollabNums=0;HideProps=0;ShowReqs=0;ShowCons=0;PaperSize=9;HideParents=0;UseAlias=0;HideAtts=0;HideOps=0;HideStereo=0;HideElemStereo=0;ShowTests=0;ShowMaint=0;"/>
<UML:TaggedValue tag="styleex" value="ExcludeRTF=0;DocAll=0;HideQuals=0;AttPkg=1;ShowTests=0;ShowMaint=0;Layout=;SuppressFOC=0;TDurLow=0;TDurHigh=100;TDurUnit=;TDurHide=0;"/>
</UML:ModelElement.taggedValue>
<UML:Diagram.element>
<UML:DiagramElement geometry="Left=20;Top=139;Right=221;Bottom=266;" subject="EAID_4F677B5E_DCEC_4413_9FB2_A9753E5E62E8" seqno="1" style="DUID=7369F95F;LBL=;"/>
<UML:DiagramElement geometry="Left=60;Top=460;Right=206;Bottom=540;" subject="EAID_4B7CE667_749A_4dde_BE45_7CBFB5519DF5" seqno="2" style="DUID=9861FA2C;LBL=;"/>
<UML:DiagramElement geometry="Left=10;Top=20;Right=175;Bottom=95;" subject="EAID_55B8BBC5_46DA_4e67_9A1D_1120F11D48E7" seqno="3" style="DUID=4E2A8D6E;"/>
<UML:DiagramElement geometry="Left=669;Top=80;Right=1066;Bottom=324;" subject="EAID_A9F2232F_845A_4da2_A329_950ED3CDB676" seqno="4" style="DUID=1AFCEFE0;LBL=;"/>
<UML:DiagramElement geometry="Left=341;Top=419;Right=620;Bottom=585;" subject="EAID_65A37092_56CE_4e5a_8C30_366469BD8468" seqno="5" style="DUID=D116714F;LBL=;"/>
<UML:DiagramElement geometry="Left=260;Top=126;Right=634;Bottom=279;" subject="EAID_EE63FC0D_D590_4d0f_9F83_338683F8E000" seqno="6" style="DUID=74DC55C1;LBL=;"/>
<UML:DiagramElement geometry="SX=0;SY=0;EX=0;EY=0;EDGE=1;$LLB=;LLT=;LMT=;LMB=;LRT=;LRB=;Path=;" subject="EAID_8273AECA_7516_4847_9960_34C4FF71F006" style="Mode=3;EOID=7369F95F;SOID=D116714F;Hidden=0;"/>
<UML:DiagramElement geometry="SX=0;SY=0;EX=0;EY=0;EDGE=1;$LLB=;LLT=;LMT=;LMB=;LRT=;LRB=;Path=;" subject="EAID_8BBADE67_3C37_4c4a_8CD5_2911FACC538E" style="Mode=3;EOID=1AFCEFE0;SOID=D116714F;Hidden=0;"/>
<UML:DiagramElement geometry="SX=0;SY=0;EX=0;EY=0;EDGE=1;$LLB=;LLT=;LMT=;LMB=;LRT=;LRB=;Path=;" subject="EAID_D761BD7E_7981_43a2_823C_48DC2173761C" style="Mode=2;EOID=74DC55C1;SOID=D116714F;Hidden=0;"/>
<UML:DiagramElement geometry="SX=0;SY=0;EX=0;EY=0;EDGE=4;$LLB=;LLT=;LMT=;LMB=CX=51:CY=15:OX=0:OY=0:HDN=0:BLD=0:ITA=0:UND=0:CLR=-1:ALN=0:DIR=0:ROT=0;LRT=;LRB=;Path=;" subject="EAID_E53B0D49_9955_449f_974D_2D23DBDB2610" style="Mode=2;EOID=9861FA2C;SOID=D116714F;Hidden=0;"/>
</UML:Diagram.element>
</UML:Diagram>
<UML:Diagram name="Console parameters" xmi.id="EAID_70ED343C_42E2_4b49_8EE5_C19FBBA1BED9" diagramType="ClassDiagram" owner="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9" toolName="Enterprise Architect 2.5">
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="version" value="0.1"/>
<UML:TaggedValue tag="author" value="Tobias Schlitt"/>
<UML:TaggedValue tag="created_date" value="2005-08-19 11:59:03"/>
<UML:TaggedValue tag="modified_date" value="2005-08-19 12:00:03"/>
<UML:TaggedValue tag="package" value="EAPK_9300B830_36D9_4e00_AE7D_EA3DA9B092B9"/>
<UML:TaggedValue tag="type" value="Logical"/>
<UML:TaggedValue tag="swimlanes" value="locked=false;orientation=0;width=0;inbar=false;names=false;color=0;bold=false;fcol=0;;cls=0;"/>
<UML:TaggedValue tag="EAStyle" value="ShowPrivate=1;ShowProtected=1;ShowPublic=1;HideRelationships=0;Locked=0;Border=1;HighlightForeign=1;PackageContents=1;SequenceNotes=0;ScalePrintImage=0;PPgs.cx=0;PPgs.cy=0;DocSize.cx=780;DocSize.cy=1118;ShowDetails=0;Orientation=P;Zoom=100;ShowTags=0;OpParams=3;ShowIcons=1;CollabNums=0;HideProps=0;ShowReqs=0;ShowCons=0;PaperSize=9;HideParents=0;UseAlias=0;HideAtts=0;HideOps=0;HideStereo=0;HideElemStereo=0;ShowTests=0;ShowMaint=0;"/>
<UML:TaggedValue tag="styleex" value="ExcludeRTF=0;DocAll=0;HideQuals=0;AttPkg=1;ShowTests=0;ShowMaint=0;Layout=;SuppressFOC=0;TDurLow=0;TDurHigh=100;TDurUnit=;TDurHide=0;"/>
</UML:ModelElement.taggedValue>
<UML:Diagram.element>
<UML:DiagramElement geometry="Left=600;Top=20;Right=765;Bottom=95;" subject="EAID_7FBF19CD_D452_4a01_BF36_6591CF96D1D2" seqno="1" style="DUID=56EC20EC;"/>
<UML:DiagramElement geometry="Left=34;Top=27;Right=277;Bottom=173;" subject="EAID_C6C700C8_814F_49fc_9B9C_1123BB0B4815" seqno="2" style="DUID=C9E410BA;LBL=;"/>
<UML:DiagramElement geometry="Left=30;Top=280;Right=240;Bottom=533;" subject="EAID_A51EEA3E_1E35_4947_AFF6_4F0ED6B44ADC" seqno="3" style="DUID=2ED4E9E2;LBL=;"/>
<UML:DiagramElement geometry="SX=0;SY=0;EX=0;EY=0;EDGE=1;$LLB=;LLT=;LMT=;LMB=CX=51:CY=15:OX=0:OY=0:HDN=0:BLD=0:ITA=0:UND=0:CLR=-1:ALN=0:DIR=0:ROT=0;LRT=;LRB=;Path=;" subject="EAID_F959A77C_CEDF_4555_A103_9EADB2730D13" style="Mode=2;EOID=C9E410BA;SOID=2ED4E9E2;Hidden=0;"/>
</UML:Diagram.element>
</UML:Diagram>
</XMI.content>
<XMI.difference/>
<XMI.extensions xmi.extender="Enterprise Architect 2.5">
<EAStub xmi.id="EAID_94807F39_6924_4b6f_BABD_B861BF17BDEE" name="Exception" UMLType="Class"/>
</XMI.extensions>
</XMI>
Hacked By AnonymousFox1.0, Coded By AnonymousFox