@@ -5,11 +5,11 @@ |
||
| 5 | 5 | class Date extends Column |
| 6 | 6 | {
|
| 7 | 7 | |
| 8 | - public function setFormat($format){
|
|
| 9 | - return $this->setProperty('format',$format);
|
|
| 8 | + public function setFormat($format) {
|
|
| 9 | + return $this->setProperty('format', $format);
|
|
| 10 | 10 | } |
| 11 | 11 | |
| 12 | - public function getFormat(){
|
|
| 12 | + public function getFormat() {
|
|
| 13 | 13 | return $this->getProperty('format');
|
| 14 | 14 | } |
| 15 | 15 | |
@@ -8,15 +8,15 @@ discard block |
||
| 8 | 8 | class Column extends Container |
| 9 | 9 | {
|
| 10 | 10 | |
| 11 | - public function setText($text){
|
|
| 12 | - return $this->setProperty('text',$text);
|
|
| 11 | + public function setText($text) {
|
|
| 12 | + return $this->setProperty('text', $text);
|
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | - public function setDataIndex($dataIndex){
|
|
| 16 | - return $this->setProperty('dataIndex',$dataIndex);
|
|
| 15 | + public function setDataIndex($dataIndex) {
|
|
| 16 | + return $this->setProperty('dataIndex', $dataIndex);
|
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public function getDataIndex(){
|
|
| 19 | + public function getDataIndex() {
|
|
| 20 | 20 | return $this->getProperty('dataIndex');
|
| 21 | 21 | } |
| 22 | 22 | |
@@ -26,27 +26,27 @@ discard block |
||
| 26 | 26 | * @param $hideable |
| 27 | 27 | * @return $this |
| 28 | 28 | */ |
| 29 | - public function setHideable($hideable){
|
|
| 30 | - return $this->setProperty('hideable',(bool)$hideable);
|
|
| 29 | + public function setHideable($hideable) {
|
|
| 30 | + return $this->setProperty('hideable', (bool)$hideable);
|
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - public function getHideable(){
|
|
| 33 | + public function getHideable() {
|
|
| 34 | 34 | return $this->getProperty('hideable');
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - public function setRenderer($renderer){
|
|
| 38 | - return $this->setProperty('renderer',$renderer);
|
|
| 37 | + public function setRenderer($renderer) {
|
|
| 38 | + return $this->setProperty('renderer', $renderer);
|
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function getRenderer(){
|
|
| 41 | + public function getRenderer() {
|
|
| 42 | 42 | return $this->getProperty('renderer');
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function setFilter(Filter $filter){
|
|
| 46 | - return $this->setProperty('filter',$filter);
|
|
| 45 | + public function setFilter(Filter $filter) {
|
|
| 46 | + return $this->setProperty('filter', $filter);
|
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - public function getFilter(){
|
|
| 49 | + public function getFilter() {
|
|
| 50 | 50 | return $this->getProperty('filter');
|
| 51 | 51 | } |
| 52 | 52 | |
@@ -4,20 +4,20 @@ |
||
| 4 | 4 | |
| 5 | 5 | class Boolean extends Column |
| 6 | 6 | {
|
| 7 | - public function setFalseText($falseText){
|
|
| 8 | - return $this->setProperty('falseText',$falseText);
|
|
| 7 | + public function setFalseText($falseText) {
|
|
| 8 | + return $this->setProperty('falseText', $falseText);
|
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | - public function getFalseText(){
|
|
| 11 | + public function getFalseText() {
|
|
| 12 | 12 | return $this->getProperty('falseText');
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | - public function setTrueText($trueText){
|
|
| 17 | - return $this->setProperty('trueText',$trueText);
|
|
| 16 | + public function setTrueText($trueText) {
|
|
| 17 | + return $this->setProperty('trueText', $trueText);
|
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | - public function getTrueText(){
|
|
| 20 | + public function getTrueText() {
|
|
| 21 | 21 | return $this->getProperty('trueText');
|
| 22 | 22 | } |
| 23 | 23 | |
@@ -8,12 +8,12 @@ |
||
| 8 | 8 | class Panel extends Table |
| 9 | 9 | {
|
| 10 | 10 | |
| 11 | - public function addColumn(Container $column){
|
|
| 12 | - return $this->add('columns',$column);
|
|
| 11 | + public function addColumn(Container $column) {
|
|
| 12 | + return $this->add('columns', $column);
|
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | - public function setColumns(array $columns){
|
|
| 16 | - foreach($columns as $column) {
|
|
| 15 | + public function setColumns(array $columns) {
|
|
| 16 | + foreach ($columns as $column) {
|
|
| 17 | 17 | $this->addColumn($column); |
| 18 | 18 | } |
| 19 | 19 | return $this; |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | class Container extends \Ext\Container\Container |
| 6 | 6 | {
|
| 7 | 7 | |
| 8 | - public function setSortable($sortable){
|
|
| 9 | - $this->setProperty('sortable',(bool)$sortable);
|
|
| 8 | + public function setSortable($sortable) {
|
|
| 9 | + $this->setProperty('sortable', (bool)$sortable);
|
|
| 10 | 10 | } |
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |
@@ -4,11 +4,11 @@ |
||
| 4 | 4 | class Base extends \Ext\Base |
| 5 | 5 | {
|
| 6 | 6 | |
| 7 | - public function setPluginId($pluginId){
|
|
| 8 | - return $this->setProperty('pluginId',$pluginId);
|
|
| 7 | + public function setPluginId($pluginId) {
|
|
| 8 | + return $this->setProperty('pluginId', $pluginId);
|
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | - public function getPluginId(){
|
|
| 11 | + public function getPluginId() {
|
|
| 12 | 12 | return $this->getProperty('pluginId');
|
| 13 | 13 | } |
| 14 | 14 | |
@@ -7,19 +7,19 @@ |
||
| 7 | 7 | class Window extends Panel |
| 8 | 8 | {
|
| 9 | 9 | |
| 10 | - public function setModal($modal){
|
|
| 11 | - return $this->setProperty('modal',$modal);
|
|
| 10 | + public function setModal($modal) {
|
|
| 11 | + return $this->setProperty('modal', $modal);
|
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | - public function getModal(){
|
|
| 14 | + public function getModal() {
|
|
| 15 | 15 | return $this->getProperty('modal');
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | - public function setConstrain($constrain){
|
|
| 19 | - return $this->setProperty('constrain',$constrain);
|
|
| 18 | + public function setConstrain($constrain) {
|
|
| 19 | + return $this->setProperty('constrain', $constrain);
|
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - public function getConstrain(){
|
|
| 22 | + public function getConstrain() {
|
|
| 23 | 23 | return $this->getProperty('constrain');
|
| 24 | 24 | } |
| 25 | 25 | |
@@ -14,11 +14,11 @@ |
||
| 14 | 14 | class FieldSet extends Container |
| 15 | 15 | {
|
| 16 | 16 | |
| 17 | - public function setTitle($title){
|
|
| 18 | - return $this->setProperty('title',$title);
|
|
| 17 | + public function setTitle($title) {
|
|
| 18 | + return $this->setProperty('title', $title);
|
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function getTitle(){
|
|
| 21 | + public function getTitle() {
|
|
| 22 | 22 | return $this->getProperty('title');
|
| 23 | 23 | } |
| 24 | 24 | |
@@ -14,19 +14,19 @@ |
||
| 14 | 14 | class Label extends Component |
| 15 | 15 | {
|
| 16 | 16 | |
| 17 | - public function setText($text){
|
|
| 18 | - return $this->setProperty('text',$text);
|
|
| 17 | + public function setText($text) {
|
|
| 18 | + return $this->setProperty('text', $text);
|
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function getText(){
|
|
| 21 | + public function getText() {
|
|
| 22 | 22 | return $this->getProperty('text');
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public function setForId($forId){
|
|
| 26 | - return $this->setProperty('forId',$forId);
|
|
| 25 | + public function setForId($forId) {
|
|
| 26 | + return $this->setProperty('forId', $forId);
|
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - public function getForId(){
|
|
| 29 | + public function getForId() {
|
|
| 30 | 30 | return $this->getProperty('forId');
|
| 31 | 31 | } |
| 32 | 32 | |