YiiWheels
  • Package
  • Class
  • Tree

Packages

  • None
  • yiiwheels
    • behaviors
    • widgets
    • widgets
      • ace
      • box
      • datepicker
      • daterangepicker
      • datetimepicker
      • detail
      • fileupload
      • fileuploader
      • gallery
      • google
      • grid
        • behaviors
        • operations
      • highcharts
      • maskInput
      • maskmoney
      • modal
      • multiselect
      • rangeslider
      • redactor
      • select2
      • sparklines
      • switch
      • timeago
      • timepicker
      • toggle
      • typeahead

Classes

  • WhCountOfTypeOperation
  • WhOperation
  • WhPercentOfTypeEasyPieOperation
  • WhPercentOfTypeGooglePieOperation
  • WhPercentOfTypeOperation
  • WhSumOperation

Class WhCountOfTypeOperation

WhOperation class

Abstract class where all types of column operations extend from

CWidget
Extended by WhOperation
Extended by WhCountOfTypeOperation

Direct known subclasses

WhPercentOfTypeOperation

Indirect known subclasses

WhPercentOfTypeEasyPieOperation, WhPercentOfTypeGooglePieOperation

Package: YiiWheels\widgets\grid\operations
Copyright: Copyright © 2amigos.us 2013-
License: New BSD License
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at widgets/grid/operations/WhCountOfTypeOperation.php

Methods summary

public
# init( )

Widget's initialization

Widget's initialization

Throws

CException

Overrides

WhOperation::init
public mixed|
# processValue( mixed $value )

(no phpDoc)

(no phpDoc)

Parameters

$value
mixed
$value

Returns

mixed|

See

TbOperation
public mixed|
# displaySummary( )

(no phpDoc)

(no phpDoc)

Returns

mixed|

See

TbOperation

Methods inherited from WhOperation

run()

Magic methods summary

Properties summary

public string $template
#

$template

$template

See

parent class
public string $typeTemplate
#

$typeTemplate holds the template of each calculated type

$typeTemplate holds the template of each calculated type

public array $types
#

$types hold the configuration of types to calculate. The configuration is set by an array which keys are the value types to count. You can set their 'label' independently.

 'types' => array(
     '0' => array('label' => 'zeros'),
     '1' => array('label' => 'ones'),
     '2' => array('label' => 'twos')

$types hold the configuration of types to calculate. The configuration is set by an array which keys are the value types to count. You can set their 'label' independently.

 'types' => array(
     '0' => array('label' => 'zeros'),
     '1' => array('label' => 'ones'),
     '2' => array('label' => 'twos')

Properties inherited from WhOperation

$column, $label, $value

YiiWheels API documentation generated by ApiGen 2.8.0