Skip to content
Browse files

adding package to files and modify README

  • Loading branch information...
1 parent 2d12ea3 commit 3e94d0ad83590ddbeb901c5ca4fe6efaba19e16b @blazeeboy committed Mar 9, 2011
View
2 README
@@ -24,7 +24,7 @@ Codeigniter-Egypt support the idea of applications
* CodeIgniter PHP framework Version 2.0
* Datamapper Version 1.8.0
* Ion-Auth 22/2/2011 HEAD from Github
-* Dojo+Dijit+Dojox Version 1.5
+* Dojo+Dijit Version 1.5
* jquery Version 1.5.1
[The idea]
View
1 application/core/MY_Controller.php
@@ -8,6 +8,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Core
*/
class Application extends CI_Controller {
View
1 application/helpers/perm_helper.php
@@ -7,6 +7,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Helpers
*/
if ( ! function_exists('perm_array')){
View
1 application/helpers/theme_helper.php
@@ -8,6 +8,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Helpers
*/
$CI =& get_instance();
$CI->load->config('theme');
View
55 application/libraries/Gui.php
@@ -9,6 +9,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Libraries
*/
class Gui {
@@ -23,10 +24,10 @@ function __construct(){
/**
* a form maker
*
- * @param string $action: target page of the form
- * @param array $data: array of key( label text )=>value(corresponding input HTML ), values can be generated with functions like textbox,color,file,folder,app.etc
+ * @param string $action target page of the form
+ * @param array $data array of key( label text )=>value(corresponding input HTML ), values can be generated with functions like textbox,color,file,folder,app.etc
* @param array/object $attributes: array or object of key(attribute)=>value(value of the attribute)
- * @param array $hidden: array of hiden fields and values as key=>value
+ * @param array $hidden array of hiden fields and values as key=>value
* @return string form HTML string wich will be added directly to page
*/
public function form($action = '', $data=array(), $attributes = array(), $hidden = array()){
@@ -51,8 +52,8 @@ public function form($action = '', $data=array(), $attributes = array(), $hidden
/**
* generate hidden field HTML
*
- * @param $NAME: hidden field name
- * @param $value: hidden field value
+ * @param $NAME hidden field name
+ * @param $value hidden field value
* @return string hidden input tag string
*/
public function hidden($NAME='', $value='' ){
@@ -68,7 +69,7 @@ public function hidden($NAME='', $value='' ){
* be aware that tree will load all the tree as JSON string
* from the connector URL
*
- * @param string $connector: URL to php file to use as ajax backend, with object like this
+ * @param string $connector URL to php file to use as ajax backend, with object like this
* <pre>
* {"identifier":"id","label":"description","items":[
* {"id":2,"description":"leaf1"},{"id":3,"description":"category","c":[
@@ -77,10 +78,10 @@ public function hidden($NAME='', $value='' ){
* ]}
* ]}
* </pre>
- * @param string $NAME: text input name and id
- * @param strin $value: text input value
- * @param array/object/string $attr: attributes->value associative array
- * @param array/object/string $style: property->value associative array
+ * @param string $NAME text input name and id
+ * @param strin $value text input value
+ * @param array/object/string $attr attributes->value associative array
+ * @param array/object/string $style property->value associative array
* @return string HTML string for the chooser
*/
public function file_chooser( $connector='', $NAME='',$value='', $attr=array(), $style=array() ){
@@ -120,7 +121,7 @@ public function file_chooser( $connector='', $NAME='',$value='', $attr=array(),
* be aware that tree will load all the tree as JSON string
* from the connector URL
*
- * @param string $connector: URL to php file to use as ajax backend, with object like this
+ * @param string $connector URL to php file to use as ajax backend, with object like this
* <pre>
* {"identifier":"id","label":"description","items":[
* {"id":2,"description":"leaf1"},{"id":3,"description":"category","c":[
@@ -129,10 +130,10 @@ public function file_chooser( $connector='', $NAME='',$value='', $attr=array(),
* ]}
* ]}
* </pre>
- * @param string $NAME: text input name and id
- * @param strin $value: text input value
- * @param array/object/string $attr: attributes->value associative array
- * @param array/object/string $style: property->value associative array
+ * @param string $NAME text input name and id
+ * @param strin $value text input value
+ * @param array/object/string $attr attributes->value associative array
+ * @param array/object/string $style property->value associative array
* @return string HTML string for the chooser
*/
public function folder_chooser( $connector='', $NAME='',$value='', $attr=array(), $style=array() ){
@@ -249,8 +250,8 @@ public function button( $NAME='', $value='', $attr=array() ){
* that has an associated tooltip dialog you can add any
* HTML text in it
*
- * @param string $text: button value text
- * @param string $dialog: tooltip dialog content text
+ * @param string $text button value text
+ * @param string $dialog tooltip dialog content text
* @param array/object/string attributes to be added to the button
* @return string button HTML string
*/
@@ -703,10 +704,10 @@ public function vbox( $content='', $attr=array(), $style=array() ){
/**
* used to manipulate attributes paramter in other functions
- * @param $attr: object or array of attributes wanted to be manipulated
- * @param $key: attribute to set
- * @param $value: value of the attribute to set
- * @param $replace: will replace current attribute value if exists or add it if not otherwise will it will add attribute of not exists only
+ * @param $attr object or array of attributes wanted to be manipulated
+ * @param $key attribute to set
+ * @param $value value of the attribute to set
+ * @param $replace will replace current attribute value if exists or add it if not otherwise will it will add attribute of not exists only
* @return void
*/
public function attribute( &$attr=array(), $key='', $value='', $replace=TRUE ){
@@ -725,7 +726,7 @@ public function attribute( &$attr=array(), $key='', $value='', $replace=TRUE ){
* a file list chooser that return a text with some lines every line is
* a choosen file ( it's a textarea interface with jquery)
*
- * @param string $connector: URL to php file to use as ajax backend, with object like this
+ * @param string $connector URL to php file to use as ajax backend, with object like this
* <pre>
* {"identifier":"id","label":"description","items":[
* {"id":2,"description":"leaf1"},{"id":3,"description":"category","c":[
@@ -734,10 +735,10 @@ public function attribute( &$attr=array(), $key='', $value='', $replace=TRUE ){
* ]}
* ]}
* </pre>
- * @param string $NAME: text input name and id
- * @param strin $value: text input value
- * @param array/object/string $attr: attributes->value associative array
- * @param array/object/string $style: property->value associative array
+ * @param string $NAME text input name and id
+ * @param strin $value text input value
+ * @param array/object/string $attr attributes->value associative array
+ * @param array/object/string $style property->value associative array
* @return string HTML string for the chooser
*/
public function file_list( $connector, $NAME='',$value='', $attr=array(), $param=array(), $style=array()){
@@ -872,7 +873,7 @@ protected function _attributes_to_string( $attr= array() ){
* function to convert the style array to CSS attributes
*
* @param array/object $attr the attributes array you want to convert
- * @return string HTML key: value; string sequence
+ * @return string HTML key value; string sequence
*/
protected function _array_to_style( $style=array() ){
View
1 application/libraries/System.php
@@ -8,6 +8,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Libraries
*/
class System {
View
1 application/models/content.php
@@ -8,6 +8,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Models
*/
class Content extends DataMapper {
View
1 application/models/group.php
@@ -9,6 +9,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Models
*/
class Group extends DataMapper{
View
1 application/models/section.php
@@ -10,6 +10,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Models
*/
class Section extends DataMapper {
View
1 application/models/user.php
@@ -9,6 +9,7 @@
* @copyright 2011 Emad Elsaid a.k.a Blaze Boy
* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL License 2.0
* @link https://github.com/blazeeboy/Codeigniter-Egypt
+ * @package Models
*/
class User extends DataMapper{

0 comments on commit 3e94d0a

Please sign in to comment.
Something went wrong with that request. Please try again.